Skip to content

Commit 4f526ab

Browse files
committed
Log introduction messages
1 parent 33fb0c8 commit 4f526ab

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
@@ -41,6 +41,7 @@ Canister.on("guildMemberAdd", (newUser) => __awaiter(this, void 0, void 0, funct
4141
// Ask for help in respective channels! Participate in the community and most of all, learn and have fun!
4242
// `);
4343
channel.send(welcomeMessage);
44+
console.log(`Welcomed ${newUser.displayName}`);
4445
}));
4546
Canister.on("message", (message) => __awaiter(this, void 0, void 0, function* () {
4647
const pollMatch = message.content.match(/!(poll|help)\s+?(.+)/i); // \s+?(\d)

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Canister.on("guildMemberAdd", async (newUser: GuildMember) => {
3939
// `);
4040

4141
channel.send(welcomeMessage);
42+
console.log(`Welcomed ${newUser.displayName}`);
4243
});
4344

4445
Canister.on("message", async (message: Message) => {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy