Added better message logging
This commit is contained in:
parent
0839a8e037
commit
dcf20255ee
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -191,7 +191,7 @@ function loadImage(url) {
|
|||
}
|
||||
|
||||
client.on('message', async function (message) {
|
||||
console.log(message.cleanContent);
|
||||
console.log(`[${message.guild.name} - ${message.channel.name}] ${message.author.username}#${message.author.discriminator}: ${message.cleanContent}`);
|
||||
|
||||
if(message.cleanContent.startsWith('/invite')) {
|
||||
message.channel.send(`Invite link: <${invitelink}>`);
|
||||
|
|
Reference in a new issue