mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 13:53:12 +02:00
Log every command
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user