generated from nhcarrigan/template
This commit is contained in:
@@ -35,5 +35,11 @@ amari.discord.on(Events.MessageCreate, (message) => {
|
||||
void handleMessageCreate(amari, message);
|
||||
});
|
||||
|
||||
amari.discord.on(Events.InteractionCreate, (interaction) => {
|
||||
if (interaction.isButton() && interaction.customId === "resolve") {
|
||||
void interaction.message.delete();
|
||||
}
|
||||
});
|
||||
|
||||
await amari.discord.login(process.env.BOT_TOKEN);
|
||||
instantiateServer();
|
||||
|
||||
Reference in New Issue
Block a user