Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
1.3.3
Browse files Browse the repository at this point in the history
Update to 1.3.3
  • Loading branch information
IDeletedSystem64 authored Dec 26, 2022
2 parents 8d9e393 + 0681b8c commit 53eb34b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 28 deletions.
13 changes: 5 additions & 8 deletions commands/avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

}]
};
}
Expand Down
8 changes: 4 additions & 4 deletions commands/contributors.js
Original file line number Diff line number Diff line change
@@ -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) {
Expand All @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion commands/restart.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
if (user.id === process.env.OWNERID) {
const embeds = [{
title: '<a:AnitroxWorking:997565411212144730> Restart Bot',
description: 'Restarting Anitrox...',
description: '<a:AnitroxWorking:997565411212144730> Restarting now, Be back in a minute!',
color: 9442302,
footer: {
icon_url: user.displayAvatarURL(),
Expand Down
4 changes: 2 additions & 2 deletions commands/stop.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '<a:AnitroxWorking:997565411212144730> **Shutting Down...**',
title: 'Shut down the bot',
description: '<a:AnitroxWorking:997565411212144730> Shutting down now, Until next time!',
color: 9442302,
footer: {
icon_url: user.displayAvatarURL(),
Expand Down
4 changes: 2 additions & 2 deletions config-example.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
11 changes: 0 additions & 11 deletions events/messageCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 53eb34b

Please sign in to comment.