Log every command

This commit is contained in:
Dragon Fire
2021-05-02 21:47:42 -04:00
parent ef06abf451
commit c5caeb75aa
3 changed files with 12 additions and 1 deletions
+6
View File
@@ -21,6 +21,7 @@ const {
XIAO_WEBHOOK_TOKEN,
REPORT_CHANNEL_ID,
JOIN_LEAVE_CHANNEL_ID,
COMMAND_CHANNEL_ID,
TOP_GG_TOKEN,
BOTS_GG_TOKEN,
DISCORDBOTLIST_TOKEN,
@@ -283,4 +284,9 @@ module.exports = class XiaoClient extends CommandoClient {
if (!JOIN_LEAVE_CHANNEL_ID) return null;
return this.channels.fetch(JOIN_LEAVE_CHANNEL_ID);
}
fetchCommandChannel() {
if (!COMMAND_CHANNEL_ID) return null;
return this.channels.fetch(COMMAND_CHANNEL_ID);
}
};