From 69ebf0cec464c34ee0ab663816f3a85131f584cd Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 14 Nov 2022 15:30:58 -0600 Subject: [PATCH 01/10] Remove PTB invite link, link to announcement instead. --- commands/invite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/invite.js b/commands/invite.js index a809d75..76f1033 100644 --- a/commands/invite.js +++ b/commands/invite.js @@ -27,7 +27,7 @@ module.exports = { }, fields: [ { name: 'Anitrox', value: 'Get the ripe off the vine Anitrox! \n [Add Anitrox to your server](https://discord.com/oauth2/authorize?client_id=576805923964715018&scope=bot&permissions=8)' }, - { name: 'Anitrox PTB (Public Test Build)', value: 'So you want the fresh and hot builds straight from the oven? We gotchu \n [Add Anitrox PTB to your server](https://discord.com/oauth2/authorize?client_id=489125054261755925&scope=bot&permissions=66186303)' }, + { name: 'Anitrox PTB (Public Test Build)', value: 'Anitrox PTB is going to be discontinued on November 25th, 2022. [Learn More](https://docs.google.com/document/d/1cpmJjBEo-blxvirOtDsIT-Hrq40qVseRHBY7asBT47k)' }, { name: 'Anitrox Dev, Self hosting and more!', value: 'Self-host your own Anitrox (including dev!), Contribute, and more! The possibilites are endless. [Anitrox Source](https://github.com/IDeletedSystem64/anitrox)' }, { name: 'Need help?', value: 'Come join the Anitrox Support Server, for support and much more!\n [Anitrox Support Server](https://discord.gg/grebRGsBZ3)' } ] From 67fd0343dbdd7482afecf5972b0c7969e219b3b2 Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 14 Nov 2022 15:36:26 -0600 Subject: [PATCH 02/10] Bump version number --- config-example.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-example.json b/config-example.json index 56e1a1d..1548302 100644 --- a/config-example.json +++ b/config-example.json @@ -1,7 +1,7 @@ { "prefix": "n!", "release": "Stable Release", - "build": "1.3", + "build": "1.3.2", "footerTxt": "Anitrox, made with <3 by IDeletedSystem64 | 2018-2022", "sandbox": { "enabled": false, From 3c41e47df1888e08685e2bef3a0b37be33097cf6 Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 14 Nov 2022 16:08:31 -0600 Subject: [PATCH 03/10] Make error msgs reply to the interaction --- events/interactionCreate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/interactionCreate.js b/events/interactionCreate.js index 81241f4..fc3670f 100644 --- a/events/interactionCreate.js +++ b/events/interactionCreate.js @@ -8,7 +8,7 @@ module.exports = { await client.commands.get(interaction.commandName)?.parseInteraction(client, config, interaction); } catch (error) { console.error(error); - interaction.channel.send({ + interaction.reply({ embeds: [{ title: '<:AnitroxError:809651936563429416> **Something went wrong!**', description: error.stack, From a8d34c99902fea9089ef473508edfdc40a0b2b4b Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 14 Nov 2022 16:10:10 -0600 Subject: [PATCH 04/10] Specify that the user cannot use that cmd w/ prefix in 1.4 --- events/messageCreate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/messageCreate.js b/events/messageCreate.js index edf9b15..aa453a5 100644 --- a/events/messageCreate.js +++ b/events/messageCreate.js @@ -14,7 +14,7 @@ module.exports = { message.channel.send({ embeds: [{ title: `<:AnitroxWarning:997565364718276669> Attention, ${message.author.username}!`, - description: `Anitrox will be moving entirely to slash commands in 1.4, You will no longer be able to use commands by typing ${config.prefix}command.\n Please use slash commands in the future. [Learn more](https://support.discord.com/hc/en-us/articles/1500000368501-Slash-Commands-FAQ)`, + description: `Anitrox will be moving entirely to slash commands in 1.4, You will no longer be able to use \`\` ${command} \`\` by typing ${config.prefix}${command}.\n Please use slash commands in the future. [Learn more](https://support.discord.com/hc/en-us/articles/1500000368501-Slash-Commands-FAQ)`, color: 15548997, footer: { icon_url: message.author.displayAvatarURL(), From a2dd3e0ca5fd03edfd023eff241c18262dc88f7f Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 14 Nov 2022 22:04:06 -0600 Subject: [PATCH 05/10] Fix GIF profile pictures not being displayed as the GIF --- commands/avatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/avatar.js b/commands/avatar.js index 53d203e..519db6d 100644 --- a/commands/avatar.js +++ b/commands/avatar.js @@ -37,7 +37,7 @@ module.exports = { text: config.footerTxt }, image: { - url: target.displayAvatarURL() + url: target.displayAvatarURL({ dynamic: true }) } }] }; From ce61a4607eb7fa4784f62156b80c5bff8537583f Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 26 Dec 2022 12:25:12 -0600 Subject: [PATCH 06/10] Bump year --- config-example.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config-example.json b/config-example.json index 58500fc..ff59d8e 100644 --- a/config-example.json +++ b/config-example.json @@ -1,8 +1,8 @@ { "prefix": "n!", "release": "Developer Release", - "build": "1.4dev", - "footerTxt": "Anitrox, made with <3 by IDeletedSystem64 | 2018-2022", + "build": "1.3.3dev", + "footerTxt": "Anitrox, made with <3 by IDeletedSystem64 | 2018-2023", "sandbox": { "enabled": false, "id": "0", From d74cb0b1ad1c4b93bd0b5d920b5200663b85c07e Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 26 Dec 2022 15:57:29 -0600 Subject: [PATCH 07/10] Update links --- commands/contributors.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/contributors.js b/commands/contributors.js index 9b11355..13a0eb2 100644 --- a/commands/contributors.js +++ b/commands/contributors.js @@ -1,7 +1,7 @@ module.exports = { name: require('path').parse(__filename).name, - description: 'Attributions to open source components used by Anitrox', + description: 'Attributions to users who have worked on Anitrox!', options: [], async parseMessage (_, config, message) { @@ -28,11 +28,11 @@ module.exports = { fields: [ { name: 'chuu_shi', - value: 'Thanks to Chuu for letting me use some of his resources to host Anitrox!\n <:GitHub:778165439477841981> [Check out his code!](https://github.com/chuushi)' + value: 'Thanks to Chuu for letting me use some of his resources to host Anitrox!\n <:GitHub:778165439477841981> [Check out his code!](https://github.com/chuushi)\n <:discord:1057053513210937444> [Check out his Discord community!](https://port.chuu.sh/)' }, { - name: 'OfficialTCGMatt', - value: "Matt has helped quite a bit with Anitrox, especially in the early days of Anitrox's development! He even has his own bot!\n <:GitHub:778165439477841981> [Check out his code!](https://github.com/OfficialTCGMatt)\n :robot: [Check out TheCodingBot!](https://github.com/TMC-Software/TheCodingBot)" + name: 'TheCodingGuy', + value: "Matt has helped quite a bit with Anitrox, especially in the early days of Anitrox's development! He even has his own bot!\n <:GitHub:778165439477841981> [Check out his code!](https://github.com/Aisuruneko)\n :robot: [Check out TheCodingBot!](https://github.com/NetroCorp/TheCodingBot)\n :globe_with_meridians: [Check out Netro Corp!](https://netrocorp.net)" }, { name: 'Foxinatel', From c484d727f55b0499a6fd0df820ecb5f0e35dc56e Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 26 Dec 2022 15:58:28 -0600 Subject: [PATCH 08/10] no longer removing prefixes in 1.4 --- events/messageCreate.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/events/messageCreate.js b/events/messageCreate.js index aa453a5..a8cdc43 100644 --- a/events/messageCreate.js +++ b/events/messageCreate.js @@ -11,17 +11,6 @@ module.exports = { if (!client.commands.has(command)) return; try { - message.channel.send({ - embeds: [{ - title: `<:AnitroxWarning:997565364718276669> Attention, ${message.author.username}!`, - description: `Anitrox will be moving entirely to slash commands in 1.4, You will no longer be able to use \`\` ${command} \`\` by typing ${config.prefix}${command}.\n Please use slash commands in the future. [Learn more](https://support.discord.com/hc/en-us/articles/1500000368501-Slash-Commands-FAQ)`, - color: 15548997, - footer: { - icon_url: message.author.displayAvatarURL(), - text: config.footerTxt - } - }] - }); await client.commands.get(command)?.parseMessage(client, config, message, args); } catch (error) { console.error(error); From c3e58abfc1eb4f6bb780165c6dea04a8d4053fa2 Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 26 Dec 2022 16:22:44 -0600 Subject: [PATCH 09/10] Add link to the avatar for mobile users --- commands/avatar.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/commands/avatar.js b/commands/avatar.js index 519db6d..d88b693 100644 --- a/commands/avatar.js +++ b/commands/avatar.js @@ -30,15 +30,12 @@ module.exports = { handle (_, config, user, target) { return { embeds: [{ - title: `:frame_photo: ${target.username}'s Beautiful Avatar!`, + title: `:frame_photo: ${target.username}'s Beautiful Profile Picture!`, + description: `[Profile picture link (Mobile users, tap here!)](${target.displayAvatarURL({ dynamic: true })})`, color: 9442302, - footer: { - icon_url: user.displayAvatarURL(), - text: config.footerTxt - }, - image: { - url: target.displayAvatarURL({ dynamic: true }) - } + image: { url: target.displayAvatarURL({ dynamic: true }) }, + footer: { icon_url: user.displayAvatarURL(), text: config.footerTxt } + }] }; } From 0681b8cf9129ea6978259260c5196c90d97e6c54 Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 26 Dec 2022 16:28:19 -0600 Subject: [PATCH 10/10] Update shutdown/restart msgs --- commands/restart.js | 2 +- commands/stop.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/restart.js b/commands/restart.js index 51c91a2..fada205 100644 --- a/commands/restart.js +++ b/commands/restart.js @@ -16,7 +16,7 @@ module.exports = { if (user.id === process.env.OWNERID) { const embeds = [{ title: ' Restart Bot', - description: 'Restarting Anitrox...', + description: ' Restarting now, Be back in a minute!', color: 9442302, footer: { icon_url: user.displayAvatarURL(), diff --git a/commands/stop.js b/commands/stop.js index 9035530..cb998ca 100644 --- a/commands/stop.js +++ b/commands/stop.js @@ -17,8 +17,8 @@ module.exports = { console.log('[SYSTEM] [INFO] ' + `The bot is going down for shut down. \nShutdown requested by ${user.username}`); await channel.send({ embeds: [{ - title: '**Shut down the bot**', - description: ' **Shutting Down...**', + title: 'Shut down the bot', + description: ' Shutting down now, Until next time!', color: 9442302, footer: { icon_url: user.displayAvatarURL(),