handle test behaviour on start up
This commit is contained in:
@ -11,6 +11,7 @@ export class ExtendedClient extends Client {
|
||||
super({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_SCHEDULED_EVENTS] })
|
||||
}
|
||||
public start() {
|
||||
if (process.env.NODE_ENV === 'test') return
|
||||
const promises = []
|
||||
promises.push(this.registerSlashCommands())
|
||||
promises.push(this.registerEventCallback())
|
||||
|
Reference in New Issue
Block a user