diff options
| author | 8cy <[email protected]> | 2020-04-26 11:03:16 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-26 11:03:16 -0700 |
| commit | 048c80153f87a989e6450d2ffd261eb5ba55b234 (patch) | |
| tree | 6f27acf1584565c5c8248b52064baad55dcbe3e2 /src | |
| parent | add math todo (diff) | |
| download | dep-core-048c80153f87a989e6450d2ffd261eb5ba55b234.tar.xz dep-core-048c80153f87a989e6450d2ffd261eb5ba55b234.zip | |
consolelog on join guild, v7.7.1
Diffstat (limited to 'src')
| -rw-r--r-- | src/bot.ts | 4 | ||||
| -rw-r--r-- | src/config.json | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -59,6 +59,10 @@ client.once('ready', () => { client.on('error', console.error); //client.on('debug', console.debug); +client.on('guildCreate', guild => { + console.log(`Joined server: ${guild.name}`) +}) + client.on('message', async msg => { var msgContent = msg.content.toLowerCase(); function prefixCheck() { diff --git a/src/config.json b/src/config.json index d21d878..8534377 100644 --- a/src/config.json +++ b/src/config.json @@ -1,5 +1,5 @@ { "secret":"Njk5NDczMjYzOTk4MjcxNDg5.XpU5oQ.btZuxVudhNllSQY6CxrXXtMJm9A", "yt-api-key":"AIzaSyCeG1lQAeInv4vjFv_eTL9IFAFNdQC9Nk8", - "version":"7.7.0" + "version":"7.7.1" }
\ No newline at end of file |