Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e11439

Browse files
committed
Testing
1 parent 63cdb96 commit 8e11439

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function allowThumbsOnly(reaction, user) {
2020
}
2121
Canister.on("message", (message) => __awaiter(this, void 0, void 0, function* () {
2222
const matched = message.content.match(/^!poll\s+?(.+)\s+?(\d)/i);
23+
console.log(message.content);
2324
if (matched && matched.index !== -1) {
2425
const pollQuestion = matched[1];
2526
const pollTimeout = parseInt(matched[2], 10);

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ function allowThumbsOnly(reaction: MessageReaction, user: User) {
1414

1515
Canister.on("message", async (message: Message) => {
1616
const matched = message.content.match(/^!poll\s+?(.+)\s+?(\d)/i);
17+
console.log(message.content);
1718
if (matched && matched.index !== -1) {
1819
const pollQuestion: string = matched[1];
1920
const pollTimeout: number = parseInt(matched[2], 10);

0 commit comments

Comments
 (0)