From 71f582403cb22d7e88f121f83cf335d341a7c9e9 Mon Sep 17 00:00:00 2001 From: Sophie Mondz Date: Sat, 19 Mar 2022 19:06:20 -0500 Subject: [PATCH 1/5] Update commands.md --- commands.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/commands.md b/commands.md index 713e94b..90f1f77 100644 --- a/commands.md +++ b/commands.md @@ -1,4 +1,11 @@ # Anitrox Command List +<> = Optionable +
+[] = Required + |Command|Arguments | |-------|----------| |Help |none | +|8ball |[Question]| +| +...I need to come back and finish this From 26d8a4f60d37f6e6be684b2ed4ad7fda01a496ee Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Mon, 21 Mar 2022 10:27:50 -0500 Subject: [PATCH 2/5] Rename userinfo to uinfo --- commands/userinfo.js | 58 -------------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 commands/userinfo.js diff --git a/commands/userinfo.js b/commands/userinfo.js deleted file mode 100644 index d8adc8a..0000000 --- a/commands/userinfo.js +++ /dev/null @@ -1,58 +0,0 @@ -module.exports = { - name: "userinfo", - description: "Gets info about an user, such as ID, Discord Join date and more", - syntax: "", - execute(client, message, args) { - const {footerTxt} = require('../config.json'); - let user = message.mentions.users.first() || args[0] - if (!user) user = message.author - const embed = { - "title": "Everything you've ever wanted to know about " + user.username + "!", - "color": 9442302, - "footer": { - "icon_url": message.author.displayAvatarURL(), - "text": footerTxt - }, - - "thumbnail": { - "url": user.displayAvatarURL() - }, - "fields": [ - - { - "name": "Username", - "value": user.username, - "inline": true - }, - { - "name": "Discriminator", - "value": user.discriminator, - "inline": true - }, - { - "name": "Full Username", - "value": user.tag, - "inline": true - }, - { - "name": "User Profile Picture", - "value": user.displayAvatarURL() - }, - { - "name": "User Status", - value: user.presence.status - }, - { - "name": "User ID", - "value": "``" + user.id + "``" - }, - { - "name": "User Joined Discord", - "value": user.createdAt, - inline: true - }, - ] - }; - message.channel.send({ embed: embed }); - } - } From 17969f62a81cf5c032ce81688ff42d7e60926ea7 Mon Sep 17 00:00:00 2001 From: Sophie Mondz Date: Mon, 21 Mar 2022 10:28:55 -0500 Subject: [PATCH 3/5] Rename userinfo to uinfo --- commands/uinfo.js | 58 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 commands/uinfo.js diff --git a/commands/uinfo.js b/commands/uinfo.js new file mode 100644 index 0000000..0cb944f --- /dev/null +++ b/commands/uinfo.js @@ -0,0 +1,58 @@ +module.exports = { + name: "uinfo", + description: "Gets info about an user, such as ID, Discord Join date and more", + syntax: "", + execute(client, message, args) { + const {footerTxt} = require('../config.json'); + let user = message.mentions.users.first() || args[0] + if (!user) user = message.author + const embed = { + "title": "Everything you've ever wanted to know about " + user.username + "!", + "color": 9442302, + "footer": { + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt + }, + + "thumbnail": { + "url": user.displayAvatarURL() + }, + "fields": [ + + { + "name": "Username", + "value": user.username, + "inline": true + }, + { + "name": "Discriminator", + "value": user.discriminator, + "inline": true + }, + { + "name": "Full Username", + "value": user.tag, + "inline": true + }, + { + "name": "User Profile Picture", + "value": user.displayAvatarURL() + }, + { + "name": "User Status", + value: user.presence.status + }, + { + "name": "User ID", + "value": "``" + user.id + "``" + }, + { + "name": "User Joined Discord", + "value": user.createdAt, + inline: true + }, + ] + }; + message.channel.send({ embed: embed }); + } + } From 978ccc323143c9cc3593d81da1bd96d8ce02c14c Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Mon, 21 Mar 2022 10:37:04 -0500 Subject: [PATCH 4/5] Change avatar to get from message author if no user is mentioned --- commands/avatar.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/commands/avatar.js b/commands/avatar.js index 061104c..3741e6e 100644 --- a/commands/avatar.js +++ b/commands/avatar.js @@ -2,15 +2,17 @@ module.exports = { name: "avatar", description: "Gets a users avatar.", execute(client, message, args) { - const user = message.mentions.users.first() + user = message.mentions.users.first() + if (!user) user = message.author + + const {footerTxt} = require('../config.json'); const embed = { - "title": ":frame_photo: " + user.username + "'s Avatar", - "description": "Here is " + user.username + "'s avatar!", + "title": ":frame_photo: " + user.username + "'s Beautiful Avatar!", "color": 9442302, "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": user.displayAvatarURL() From 9dbab772fced2cfc9dec8eaecb8e66f3b283d45a Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Mon, 21 Mar 2022 10:48:51 -0500 Subject: [PATCH 5/5] Finish command list --- commands.md | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/commands.md b/commands.md index 90f1f77..4a99be3 100644 --- a/commands.md +++ b/commands.md @@ -3,9 +3,25 @@
[] = Required -|Command|Arguments | -|-------|----------| -|Help |none | -|8ball |[Question]| -| -...I need to come back and finish this +|Command|Arguments |Description | +|-------|----------|------------| +|Help |none |Help? Help!!| +|8ball |[Question]|Ask a question, Any question! | +|avatar |\ |Get a users beautiful avatar | +|bonk |[Member] | Bonk, no horny. | +|cheese |\| Cheese.| +|cuddle |[Member] | Cuddle someone! | +|hug |[Member] | Hug someone! | +|info |none | Information about the bot and host. +|invite |none | Invite Anitrox to your server! +|kiss |[Member] | Kiss someone! | +|leskiss|[Member] | Lesbain kiss (Suggested by Emi) +|lick |[Member] | Did you just lick me!? +|nom |[Member] | Nom someone or something +|opensource| none | Source code for Anitrox +|pat |[Member] | Pat someone! +|ping |none | Ping Elon Musk! or Mars! nah jk, Discord. +|poke |[Member] | Poke someone! +|slap |[Member] | Slap someone :( +|snuggle|[Member] | Snuggle someone! +|uinfo |[Member] | Information about an user \ No newline at end of file