mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-03 23:36:35 +02:00
finished bl system
This commit is contained in:
@@ -2,7 +2,7 @@ const { Events, InteractionType } = require("discord.js");
|
||||
|
||||
module.exports = {
|
||||
name: Events.InteractionCreate,
|
||||
async run(client, interaction) {
|
||||
async execute(client, interaction) {
|
||||
if (interaction.type === InteractionType.ApplicationCommand) {
|
||||
const command = client.commands.get(interaction.commandName);
|
||||
await command.execute(interaction, client);
|
||||
|
||||
Reference in New Issue
Block a user