mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 03:14:35 +02:00
Yeah, sorry, not a fan
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user