diff --git a/index.js b/index.js index 35df8c3..21d0a7c 100644 --- a/index.js +++ b/index.js @@ -134,6 +134,18 @@ client.on("ready", () => { } ] }, + { + name: "unbonk", + description: "bonk'nt someone", + options: [ + { + name: "user", + description: "Whomst to unbonk", + type: 6, + required: true + } + ] + }, { name: "cat", description: "Meow" @@ -248,6 +260,8 @@ client.on("interactionCreate", (int) => { }); } else if(int.commandName == "bonk"){ int.reply(`*${int.user.username} bonked ${int.options.getUser("user").username}* `); + } else if(int.commandName == "unbonk"){ + int.reply(`*${int.user.username} unbonked ${int.options.getUser("user").username}*`); } else if(int.commandName == "cat"){ const row = new dc.MessageActionRow(); const btn = new dc.MessageButton(); @@ -341,4 +355,4 @@ client.on("interactionCreate", (int) => { process.on("exit", (code) => { console.log("Exiting with code", code); client.destroy(); -}); \ No newline at end of file +});