Add cheese command, fix info
This commit is contained in:
parent
18bd7f0d8b
commit
d92dbd91ac
2 changed files with 36 additions and 3 deletions
33
commands/cheese.js
Normal file
33
commands/cheese.js
Normal file
|
@ -0,0 +1,33 @@
|
|||
module.exports = {
|
||||
//a
|
||||
name: "cheese",
|
||||
description: "Cheese an user, or run just ``n!cheese`` for a surprise :eyes:",
|
||||
execute(client, message, args) {
|
||||
const messageAuthor = message.author
|
||||
const taggedUser = message.mentions.users.first();
|
||||
//---------------------------------
|
||||
|
||||
|
||||
if(!taggedUser) {
|
||||
return message.channel.send("*slams cheese on desk* Cheese. https://www.youtube.com/watch?v=Or4IE8fkpn4");
|
||||
|
||||
}
|
||||
|
||||
|
||||
const embed = {
|
||||
"title": ":cheese: Cheesed",
|
||||
"description": "<@" + taggedUser + ">" + " You got cheesed by " + "<@" + messageAuthor + ">!",
|
||||
"color": 8311585,
|
||||
"footer": {
|
||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
||||
},
|
||||
"image": {
|
||||
"url": "https://cdn.discordapp.com/attachments/803658122299572255/812867714368536636/R06325af354168febcafd96b8328b7590.png"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
message.channel.send({ embed: embed });
|
||||
}
|
||||
}
|
|
@ -24,14 +24,14 @@ module.exports = {
|
|||
|
||||
|
||||
|
||||
const version = ("Public Test Release 4.1 (build 444)")
|
||||
const version = ("Public Test Release 5 (build 465)")
|
||||
const release = ("anitrox_ptb")
|
||||
const os = require("os")
|
||||
|
||||
const embed = {
|
||||
"title": "<:NyabotInfo:697145463350231040> Information about Anitrox",
|
||||
"description": "Everything you've ever wanted to know about Anitrox!",
|
||||
"color": 11038194,
|
||||
"color": 9442302,
|
||||
"footer": {
|
||||
"icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021 "
|
||||
|
@ -93,7 +93,7 @@ const version = ("Public Test Release 4.1 (build 444)")
|
|||
},
|
||||
{
|
||||
"name": "<:usersuccess:793885338250641469> **Special Thanks To**",
|
||||
"value": "@OfficialTCGMatt for providing help with development/n @chuu_shi Allowing me to host Anitrox on his server"
|
||||
"value": "@OfficialTCGMatt for providing help with development\n @chuu_shi Allowing me to host Anitrox on his server"
|
||||
}
|
||||
|
||||
]
|
||||
|
|
Reference in a new issue