From 69ebf0cec464c34ee0ab663816f3a85131f584cd Mon Sep 17 00:00:00 2001 From: Sophie Marie Date: Mon, 14 Nov 2022 15:30:58 -0600 Subject: [PATCH 1/5] 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 2/5] 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 3/5] 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 4/5] 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 5/5] 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 }) } }] };