added unbonk
This commit is contained in:
parent
a5515493b8
commit
fc4767bcc1
1 changed files with 15 additions and 1 deletions
16
index.js
16
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}* <a:getbonked:912473583488499743>`);
|
||||
} 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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue