Moved deployment code to class
This commit is contained in:
parent
aef26b1cc3
commit
83209f642c
6 changed files with 61 additions and 39 deletions
|
|
@ -53,6 +53,10 @@ export class DiscordClient {
|
|||
});
|
||||
})
|
||||
|
||||
this.client.on(Events.GuildAvailable, () => {
|
||||
Container.get<Logger>("logger").info("Joined Guild?")
|
||||
})
|
||||
|
||||
this.client.on(Events.InteractionCreate, async (interaction: Interaction) => {
|
||||
const method = this.findCommandMethod(interaction);
|
||||
if (!method) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue