This commit is contained in:
janderedev 2022-03-16 21:54:09 +01:00
parent 6c83a41d82
commit f8a001f4da
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A

View file

@ -8,7 +8,16 @@ import { DEFAULT_PREFIX } from "./command_handler";
// Listen to system messages
client.on('message', async message => {
if (typeof message.content != 'object') return;
if (typeof message.content != 'object') {
// reply to 74
if (message.author_id == '01FCXF8V6RDKHSQ3AHJ410AASX' && message.content == 'we do a little') {
try {
message.reply('shut the fuck up');
} catch(e) { console.error(e) }
}
return;
}
let sysMsg = message.asSystemMessage;