diff --git a/commands/bonk.js b/commands/bonk.js index 6d6d313..073c39c 100644 --- a/commands/bonk.js +++ b/commands/bonk.js @@ -5,7 +5,26 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + const embed = { "title": " Bonk", "description": "<@" + taggedUser + ">" + " You have been bonked by <@" + messageAuthor + ">!", diff --git a/commands/hug.js b/commands/hug.js index dc4add0..a136479 100644 --- a/commands/hug.js +++ b/commands/hug.js @@ -13,6 +13,27 @@ module.exports = { "https://data.whicdn.com/images/294164107/original.gif", "https://media1.tenor.com/images/e5e7779385d003db13396e03b7fd1024/tenor.gif?itemid=16619907" ]; + //--------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); var gif = (gifchoices[index]); const embed = { diff --git a/commands/info.js b/commands/info.js index 8fcd5ec..c549db5 100644 --- a/commands/info.js +++ b/commands/info.js @@ -24,8 +24,8 @@ module.exports = { -const version = ("dev build 429") - const release = ("anitrox_dev") +const version = ("Public Test Release 4.1 (build 444)") + const release = ("anitrox_ptb") const os = require("os") const embed = { @@ -58,7 +58,7 @@ const version = ("dev build 429") }, { "name": "<:memory:793536677737136178> Bot Memory Usage", - "value": (Math.round(process.memoryUsage().heapUsed / 1024 / 1024 * 100) / 100) + " MiB" + ", Total Free Memory" + "value": (Math.round(process.memoryUsage().heapUsed / 1024 / 1024 * 100) / 100) + " MiB" }, { "name": "<:hostinfo:793529505263517747> Host Information", diff --git a/commands/kiss.js b/commands/kiss.js index 6796d38..37c49c6 100644 --- a/commands/kiss.js +++ b/commands/kiss.js @@ -5,6 +5,8 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); + + // -------------------------------------- const gifchoices = [ "https://thumbs.gfycat.com/SlowGlossyBlackcrappie-small.gif", @@ -17,9 +19,27 @@ module.exports = { const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); var gif = (gifchoices[index]); // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + } const embed = { "title": ":heart: Kiss", - "description": "<@" + taggedUser + ">" + " You have been kissed by <@" + messageAuthor + ">!", + "description": "<@" + taggedUser + ">" + ", You have been kissed by <@" + messageAuthor + ">!", "color": 8311585, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", diff --git a/commands/leskiss.js b/commands/leskiss.js index 6dc0ea5..2476a3c 100644 --- a/commands/leskiss.js +++ b/commands/leskiss.js @@ -30,6 +30,26 @@ module.exports = { const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); var gif = (gifchoices[index]); // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + const embed = { "title": ":heart: <:lesbian:803831629428686849> Kiss", diff --git a/commands/lick.js b/commands/lick.js new file mode 100644 index 0000000..19dca35 --- /dev/null +++ b/commands/lick.js @@ -0,0 +1,47 @@ +module.exports = { + + name: "lick", + description: "Licks an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); +//--------------------------------------------------- + +//--------------------------------------------------- +const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] +}; + +if(!taggedUser) { + return message.channel.send({ embed: errorembed}); +// Checks if a user was mentioned. If not, returns error message. +} + + const embed = { + "title": "Lick", + "description": "<@" + taggedUser + "> You have been licked 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/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif" + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/commands/nom.js b/commands/nom.js index cb8302f..3449231 100644 --- a/commands/nom.js +++ b/commands/nom.js @@ -18,7 +18,26 @@ module.exports = { const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); var gif = (gifchoices[index]); // --------------------------------------- - + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + const embed = { "title": "<:BlobNomBlob:801241117919805510> Nom", "description": "<@" + taggedUser + "> You have been nommed by <@" + messageAuthor + ">!", diff --git a/commands/pat.js b/commands/pat.js index d67a4c7..a876ba4 100644 --- a/commands/pat.js +++ b/commands/pat.js @@ -17,6 +17,25 @@ module.exports = { const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); var gif = (gifchoices[index]); // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } const embed = { "title": "<:pats:801238281286713355> Pat", diff --git a/commands/poke.js b/commands/poke.js index 266dfb6..1c98e1d 100644 --- a/commands/poke.js +++ b/commands/poke.js @@ -17,7 +17,26 @@ module.exports = { const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); var gif = (gifchoices[index]); // --------------------------------------- - + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + const embed = { "title": "👉 Poke!", "description": "<@" + taggedUser + "> You have been poked by <@" + messageAuthor + ">!", diff --git a/commands/slap.js b/commands/slap.js index 74bf202..78d33b6 100644 --- a/commands/slap.js +++ b/commands/slap.js @@ -5,7 +5,30 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - const embed = { +//--------------------------------------------------- + +//--------------------------------------------------- +const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "footer": { + "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] +}; + +if(!taggedUser) { + return message.channel.send({ embed: errorembed}); +// Checks if a user was mentioned. If not, returns error message. +} + + const embed = { "title": ":anger: Slap", "description": "<@" + taggedUser + "> You have been slapped by <@" + messageAuthor + ">!", "color": 8311585,