voice state fixes

This commit is contained in:
Amish Shah
2018-08-10 15:15:52 +01:00
parent df54d11dce
commit fe8ece0192
5 changed files with 12 additions and 10 deletions

View File

@@ -29,6 +29,10 @@ var count = 0;
process.on('unhandledRejection', console.log);
client.on('voiceStateUpdate', (a, b) => {
console.log(a ? a.channelID : null, b ? b.channelID : null, b.member.user.username);
});
client.on('message', m => {
if (!m.guild) return;
if (m.author.id !== '66564597481480192') return;