Yeah, sorry, not a fan

This commit is contained in:
Dragon Fire
2024-04-09 22:54:22 -04:00
parent 2ad26e325a
commit 47a60f911a
9 changed files with 2 additions and 121 deletions
+1 -6
View File
@@ -17,7 +17,7 @@ const PhoneManager = require('./phone/PhoneManager');
const TimerManager = require('./remind/TimerManager');
const PokemonStore = require('./pokemon/PokemonStore');
const activities = require('./activity');
const { REPORT_CHANNEL_ID, JOIN_LEAVE_CHANNEL_ID, COMMAND_CHANNEL_ID } = process.env;
const { REPORT_CHANNEL_ID, JOIN_LEAVE_CHANNEL_ID } = process.env;
module.exports = class XiaoClient extends CommandClient {
constructor(options) {
@@ -110,9 +110,4 @@ module.exports = class XiaoClient extends CommandClient {
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);
}
};