Update all the commands to use new footer

This commit is contained in:
IDeletedSystem64 2022-03-21 12:55:29 -05:00
parent 9dbab772fc
commit e4a64c51bf
13 changed files with 52 additions and 54 deletions

View File

@ -3,8 +3,8 @@ module.exports = {
name: "bonk", name: "bonk",
description: "Bonks an user!", description: "Bonks an user!",
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
const {footerTxt} = require('../config.json');
const errorembed = { const errorembed = {
"title": "<:AnitroxError:809651936563429416> Error", "title": "<:AnitroxError:809651936563429416> Error",
"color": 13632027, "color": 13632027,
@ -27,11 +27,11 @@ module.exports = {
const embed = { const embed = {
"title": "<a:SylvBonk:801185845847130113> Bonk", "title": "<a:SylvBonk:801185845847130113> Bonk",
"description": "<@" + taggedUser + ">" + " You have been bonked by <@" + messageAuthor + ">!", "description": "<@" + taggedUser + ">" + " You have been bonked by <@" + message.author + ">!",
"color": 9442302, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" "text": footerTxt
}, },
"image": { "image": {
"url": "https://cdn.discordapp.com/attachments/793537380330111028/801194481549312060/HappyBONK.gif" "url": "https://cdn.discordapp.com/attachments/793537380330111028/801194481549312060/HappyBONK.gif"

View File

@ -3,10 +3,8 @@ module.exports = {
name: "cheese", name: "cheese",
description: "Cheese an user, or run just ``n!cheese`` for a surprise :eyes:", description: "Cheese an user, or run just ``n!cheese`` for a surprise :eyes:",
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
//--------------------------------- const {footerTxt} = require('../config.json');
if(!taggedUser) { if(!taggedUser) {
return message.channel.send("*slams cheese on desk* Cheese. https://www.youtube.com/watch?v=Or4IE8fkpn4"); return message.channel.send("*slams cheese on desk* Cheese. https://www.youtube.com/watch?v=Or4IE8fkpn4");
@ -16,11 +14,11 @@ module.exports = {
const embed = { const embed = {
"title": ":cheese: Cheesed", "title": ":cheese: Cheesed",
"description": "<@" + taggedUser + ">" + " You got cheesed by " + "<@" + messageAuthor + ">!", "description": "<@" + taggedUser + ">" + " You got cheesed by " + "<@" + message.author + ">!",
"color": 16312092, "color": 16312092,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" "text": footerTxt
}, },
"image": { "image": {
"url": "https://cdn.discordapp.com/attachments/803658122299572255/812867714368536636/R06325af354168febcafd96b8328b7590.png" "url": "https://cdn.discordapp.com/attachments/803658122299572255/812867714368536636/R06325af354168febcafd96b8328b7590.png"

View File

@ -3,9 +3,8 @@ module.exports = {
name: "cuddle", name: "cuddle",
description: "Cuddle an user!", description: "Cuddle an user!",
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
const {footerTxt} = require('../config.json');
// -------------------------------------- // --------------------------------------
const gifchoices = [ const gifchoices = [
"https://i.pinimg.com/originals/4d/89/d7/4d89d7f963b41a416ec8a55230dab31b.gif", "https://i.pinimg.com/originals/4d/89/d7/4d89d7f963b41a416ec8a55230dab31b.gif",
@ -22,11 +21,11 @@ module.exports = {
} }
const embed = { const embed = {
"title": ":heart: Cuddle", "title": ":heart: Cuddle",
"description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!", "description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + message.author + ">!",
"color": 9442302, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" "text": footerTxt
}, },
"image": { "image": {
"url": gif "url": gif

View File

@ -3,7 +3,7 @@ module.exports = {
name: "hug", name: "hug",
description: "Hugs an user!", description: "Hugs an user!",
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author const {footerTxt} = require('../config.json');
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
const gifchoices = [ const gifchoices = [
"https://cdn.discordapp.com/attachments/803658122299572255/807670647920001044/hug2.gif", "https://cdn.discordapp.com/attachments/803658122299572255/807670647920001044/hug2.gif",
@ -17,8 +17,8 @@ module.exports = {
"title": "<:AnitroxError:809651936563429416> Error", "title": "<:AnitroxError:809651936563429416> Error",
"color": 9442302, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" "text": message.author.displayAvatarURL()
}, },
"fields": [ "fields": [
{ {
@ -37,11 +37,11 @@ module.exports = {
var gif = (gifchoices[index]); var gif = (gifchoices[index]);
const embed = { const embed = {
"title": "<a:ABlobCatHuggle:801232248035999784> Hug", "title": "<a:ABlobCatHuggle:801232248035999784> Hug",
"description": "<@" + taggedUser + ">" + " You have been hugged by " + "<@" + messageAuthor + ">!", "description": "<@" + taggedUser + ">" + " You have been hugged by " + "<@" + message.author + ">!",
"color": 8311585, "color": 8311585,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" "text": footerTxt
}, },
"image": { "image": {
"url": gif "url": gif

View File

@ -3,7 +3,7 @@ module.exports = {
name: "kiss", name: "kiss",
description: "Kisses an user!", description: "Kisses an user!",
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author const {footerTxt} = require('../config.json');
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
@ -22,8 +22,8 @@ module.exports = {
"title": "<:AnitroxError:809651936563429416> Error", "title": "<:AnitroxError:809651936563429416> Error",
"color": 13632027, "color": 13632027,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" "text": footerTxt
}, },
"fields": [ "fields": [
{ {

View File

@ -6,8 +6,8 @@ module.exports = {
name: "leskiss", name: "leskiss",
description: "Lesbian kiss <:lesbian:803831629428686849>", description: "Lesbian kiss <:lesbian:803831629428686849>",
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
const {footerTxt} = require('../config.json');
// -------------------------------------- // --------------------------------------
const gifchoices = [ const gifchoices = [
"https://cdn.discordapp.com/attachments/793537380330111028/803833954750038066/gif5.gif", "https://cdn.discordapp.com/attachments/793537380330111028/803833954750038066/gif5.gif",
@ -34,8 +34,8 @@ module.exports = {
"title": "<:AnitroxError:809651936563429416> Error", "title": "<:AnitroxError:809651936563429416> Error",
"color": 9442302, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" "text": footerTxt
}, },
"fields": [ "fields": [
{ {

View File

@ -3,7 +3,7 @@ module.exports = {
name: "lick", name: "lick",
description: "Licks an user!", description: "Licks an user!",
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author const {footerTxt} = require('../config.json');
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
//--------------------------------------------------- //---------------------------------------------------
// -------------------------------------- // --------------------------------------
@ -41,11 +41,11 @@ if(!taggedUser) {
const embed = { const embed = {
"title": "<a:LeafeonLick:806396195089154058> Lick", "title": "<a:LeafeonLick:806396195089154058> Lick",
"description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!", "description": "<@" + taggedUser + "> You have been licked by <@" + message.author + ">!",
"color": 8311585, "color": 8311585,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" "text": footerTxt
}, },
"image": { "image": {
"url": "https://cdn.discordapp.com/attachments/803658122299572255/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif" "url": "https://cdn.discordapp.com/attachments/803658122299572255/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif"

View File

@ -3,7 +3,7 @@ module.exports = {
name: "nom", name: "nom",
description: "Noms an user!", description: "Noms an user!",
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author const {footerTxt} = require('../config.json');
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
// -------------------------------------- // --------------------------------------
@ -43,8 +43,8 @@ module.exports = {
"description": "<@" + taggedUser + "> You have been nommed by <@" + messageAuthor + ">!", "description": "<@" + taggedUser + "> You have been nommed by <@" + messageAuthor + ">!",
"color": 8311585, "color": 8311585,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" "text": footerTxt
}, },
"image": { "image": {
"url": gif "url": gif

View File

@ -2,13 +2,14 @@ module.exports = {
name: 'opensource', name: 'opensource',
description: 'Attributions to open source components used by Anitrox', description: 'Attributions to open source components used by Anitrox',
execute(client, message, args){ execute(client, message, args){
const embed = { const {footerTxt} = require('../config.json');
const embed = {
"title": "Component Attribution", "title": "Component Attribution",
"description": "Some parts of Anitrox are using open source code, and their attributions are avaliable here!", "description": "Some parts of Anitrox are using open source code, and their attributions are avaliable here!",
"color": 52508, "color": 52508,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" "text": footerTxt
}, },
"thumbnail": { "thumbnail": {
"url": "https://cdn.discordapp.com/attachments/803658122299572255/838854256471703602/793885335498522685.png" "url": "https://cdn.discordapp.com/attachments/803658122299572255/838854256471703602/793885335498522685.png"

View File

@ -3,7 +3,7 @@ module.exports = {
name: "pat", name: "pat",
description: "Pats an user!", description: "Pats an user!",
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author const {footerTxt} = require('../config.json');
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
// -------------------------------------- // --------------------------------------
@ -21,8 +21,8 @@ module.exports = {
"title": "<:AnitroxError:809651936563429416> Error", "title": "<:AnitroxError:809651936563429416> Error",
"color": 9442302, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" "text": footerTxt
}, },
"fields": [ "fields": [
{ {
@ -42,8 +42,8 @@ module.exports = {
"description": "<@" + taggedUser + "> You have been patted by <@" + messageAuthor + ">!", "description": "<@" + taggedUser + "> You have been patted by <@" + messageAuthor + ">!",
"color": 8311585, "color": 8311585,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" "text": footerTxt
}, },
"image": { "image": {
"url": gif "url": gif

View File

@ -21,8 +21,8 @@ module.exports = {
"title": "<:AnitroxError:809651936563429416> Error", "title": "<:AnitroxError:809651936563429416> Error",
"color": 9442302, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" "text": footerTxt
}, },
"fields": [ "fields": [
{ {
@ -42,8 +42,8 @@ module.exports = {
"description": "<@" + taggedUser + "> You have been poked by <@" + messageAuthor + ">!", "description": "<@" + taggedUser + "> You have been poked by <@" + messageAuthor + ">!",
"color": 8311585, "color": 8311585,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" "text": footerTxt
}, },
"image": { "image": {
"url": gif "url": gif

View File

@ -3,7 +3,7 @@ module.exports = {
name: "slap", name: "slap",
description: "Slaps an user!", description: "Slaps an user!",
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author const {footerTxt} = require('../config.json');
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
//--------------------------------------------------- //---------------------------------------------------
@ -12,8 +12,8 @@ const errorembed = {
"title": "<:AnitroxError:809651936563429416> Error", "title": "<:AnitroxError:809651936563429416> Error",
"color": 13632027, "color": 13632027,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" "text": footerTxt
}, },
"fields": [ "fields": [
{ {
@ -33,8 +33,8 @@ if(!taggedUser) {
"description": "<@" + taggedUser + "> You have been slapped by <@" + messageAuthor + ">!", "description": "<@" + taggedUser + "> You have been slapped by <@" + messageAuthor + ">!",
"color": 9442302, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" "text": footerTxt
}, },
"image": { "image": {
"url": "https://media1.tenor.com/images/b6d8a83eb652a30b95e87cf96a21e007/tenor.gif?itemid=10426943" "url": "https://media1.tenor.com/images/b6d8a83eb652a30b95e87cf96a21e007/tenor.gif?itemid=10426943"

View File

@ -3,7 +3,7 @@ module.exports = {
name: "snuggle", name: "snuggle",
description: "Snuggle an user!", description: "Snuggle an user!",
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author const {footerTxt} = require('../config.json');
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
// -------------------------------------- // --------------------------------------
@ -22,8 +22,8 @@ module.exports = {
"description": "<@" + taggedUser + ">" + " You have been snuggled by " + "<@" + messageAuthor + ">!", "description": "<@" + taggedUser + ">" + " You have been snuggled by " + "<@" + messageAuthor + ">!",
"color": 9442302, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": message.author.displayAvatarURL(),
"text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" "text": footerTxt
}, },
"image": { "image": {
"url": gif "url": gif