Update to 1.3.3
This commit is contained in:
Sophie Marie 2022-12-26 16:34:56 -06:00 committed by GitHub
commit 53eb34b264
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 28 deletions

View file

@ -30,15 +30,12 @@ module.exports = {
handle (_, config, user, target) { handle (_, config, user, target) {
return { return {
embeds: [{ 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, color: 9442302,
footer: { image: { url: target.displayAvatarURL({ dynamic: true }) },
icon_url: user.displayAvatarURL(), footer: { icon_url: user.displayAvatarURL(), text: config.footerTxt }
text: config.footerTxt
},
image: {
url: target.displayAvatarURL({ dynamic: true })
}
}] }]
}; };
} }

View file

@ -1,7 +1,7 @@
module.exports = { module.exports = {
name: require('path').parse(__filename).name, 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: [], options: [],
async parseMessage (_, config, message) { async parseMessage (_, config, message) {
@ -28,11 +28,11 @@ module.exports = {
fields: [ fields: [
{ {
name: 'chuu_shi', 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', 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/OfficialTCGMatt)\n :robot: [Check out TheCodingBot!](https://github.com/TMC-Software/TheCodingBot)" 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', name: 'Foxinatel',

View file

@ -16,7 +16,7 @@ module.exports = {
if (user.id === process.env.OWNERID) { if (user.id === process.env.OWNERID) {
const embeds = [{ const embeds = [{
title: '<a:AnitroxWorking:997565411212144730> Restart Bot', title: '<a:AnitroxWorking:997565411212144730> Restart Bot',
description: 'Restarting Anitrox...', description: '<a:AnitroxWorking:997565411212144730> Restarting now, Be back in a minute!',
color: 9442302, color: 9442302,
footer: { footer: {
icon_url: user.displayAvatarURL(), icon_url: user.displayAvatarURL(),

View file

@ -17,8 +17,8 @@ module.exports = {
console.log('[SYSTEM] [INFO] ' + `The bot is going down for shut down. \nShutdown requested by ${user.username}`); console.log('[SYSTEM] [INFO] ' + `The bot is going down for shut down. \nShutdown requested by ${user.username}`);
await channel.send({ await channel.send({
embeds: [{ embeds: [{
title: '**Shut down the bot**', title: 'Shut down the bot',
description: '<a:AnitroxWorking:997565411212144730> **Shutting Down...**', description: '<a:AnitroxWorking:997565411212144730> Shutting down now, Until next time!',
color: 9442302, color: 9442302,
footer: { footer: {
icon_url: user.displayAvatarURL(), icon_url: user.displayAvatarURL(),

View file

@ -1,8 +1,8 @@
{ {
"prefix": "n!", "prefix": "n!",
"release": "Developer Release", "release": "Developer Release",
"build": "1.4dev", "build": "1.3.3dev",
"footerTxt": "Anitrox, made with <3 by IDeletedSystem64 | 2018-2022", "footerTxt": "Anitrox, made with <3 by IDeletedSystem64 | 2018-2023",
"sandbox": { "sandbox": {
"enabled": false, "enabled": false,
"id": "0", "id": "0",

View file

@ -11,17 +11,6 @@ module.exports = {
if (!client.commands.has(command)) return; if (!client.commands.has(command)) return;
try { 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); await client.commands.get(command)?.parseMessage(client, config, message, args);
} catch (error) { } catch (error) {
console.error(error); console.error(error);