diff --git a/commands/8ball.js b/commands/8ball.js index 2132040..1241877 100644 --- a/commands/8ball.js +++ b/commands/8ball.js @@ -21,7 +21,7 @@ module.exports = { const embed = { "title": ":8ball: Anitrox 8 Ball", "description": "Your question: **" + question + "**", - "color": 6942950, + "color": 9442302, "footer": { "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" diff --git a/commands/bonk.js b/commands/bonk.js index 41c7d5d..6daa809 100644 --- a/commands/bonk.js +++ b/commands/bonk.js @@ -6,7 +6,7 @@ module.exports = { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", + "title": "<:AnitroxError:809651936563429416> Error", "color": 13632027, "footer": { "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", diff --git a/commands/cuddle.js b/commands/cuddle.js index 15f1e41..a151285 100644 --- a/commands/cuddle.js +++ b/commands/cuddle.js @@ -17,6 +17,9 @@ module.exports = { var gif = (gifchoices[index]); // --------------------------------------- + if(!taggedUser) { + return message.channel.send("<:AnitroxError:809651936563429416> You need to specify an user!") + } const embed = { "title": ":heart: Cuddle", "description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!", diff --git a/commands/help.js b/commands/help.js index d897d38..26b15e0 100644 --- a/commands/help.js +++ b/commands/help.js @@ -7,7 +7,7 @@ module.exports = { const messageAuthor = message.author const embed = { "title": "<:NyabotInfo:697145463350231040> **HELP** " + messageAuthor.username + " **THE BOT IS ON FIRE!** ", - "color": 9540095, + "color": 9442302, "description": "More commands are soon to come, stay tuned!", "footer": { "text": "Some commands are hidden for dev-only. | Anitrox © IDeletedSystem64 2018-2021" diff --git a/commands/hug.js b/commands/hug.js index 0204a1f..47f6cf7 100644 --- a/commands/hug.js +++ b/commands/hug.js @@ -14,7 +14,7 @@ module.exports = { ]; //--------------------------------- const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", + "title": "<:AnitroxError:809651936563429416> Error", "color": 9442302, "footer": { "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", diff --git a/commands/info.js b/commands/info.js index 7f7c741..cd8045d 100644 --- a/commands/info.js +++ b/commands/info.js @@ -23,13 +23,12 @@ module.exports = { }; - -const version = ("Public Test Release 5 (build 465)") +const user = ("309427567004483586") +const version = ("Public Test Release 6 (build 493)") const release = ("anitrox_ptb") const os = require("os") - const embed = { - "title": "<:NyabotInfo:697145463350231040> Information about Anitrox", + "title": "<:AnitroxInfo:809651936831733791> Information about Anitrox", "description": "Everything you've ever wanted to know about Anitrox!", "color": 9442302, "footer": { @@ -37,7 +36,7 @@ const version = ("Public Test Release 5 (build 465)") "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021 " }, "thumbnail": { - "url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png" + "url": ("https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png") }, "fields": [ { diff --git a/commands/invite.js b/commands/invite.js index 462e819..1e5156b 100644 --- a/commands/invite.js +++ b/commands/invite.js @@ -23,7 +23,16 @@ module.exports = { { "name": "Anitrox PTB (Public Test Build)", "value": "This is the PTB build, which has new features as they are pushed out. and is generally stable. \n https://discord.com/oauth2/authorize?client_id=489125054261755925&scope=bot&permissions=66186303" + }, + { + "name": "Anitrox Dev (Unstable)", + "value": "This isn't availiable for invite, though it is availiable on the support server." + }, + { + "name": "Need help?", + "value": "You can join the support server here: bit.ly/anitrox-help" } + ] }; message.channel.send({ embed }); diff --git a/commands/kiss.js b/commands/kiss.js index 2e80494..2273463 100644 --- a/commands/kiss.js +++ b/commands/kiss.js @@ -19,7 +19,7 @@ module.exports = { var gif = (gifchoices[index]); // --------------------------------------- const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", + "title": "<:AnitroxError:809651936563429416> Error", "color": 13632027, "footer": { "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", diff --git a/commands/leskiss.js b/commands/leskiss.js index 9412e16..5f83b2a 100644 --- a/commands/leskiss.js +++ b/commands/leskiss.js @@ -31,7 +31,7 @@ module.exports = { var gif = (gifchoices[index]); // --------------------------------------- const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", + "title": "<:AnitroxError:809651936563429416> Error", "color": 9442302, "footer": { "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", diff --git a/commands/lick.js b/commands/lick.js index 4851bbf..87ab2e8 100644 --- a/commands/lick.js +++ b/commands/lick.js @@ -20,7 +20,7 @@ var gif = (gifchoices[index]); // --------------------------------------- //--------------------------------------------------- const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", + "title": "<:AnitroxError:809651936563429416> Error", "color": 9442302, "footer": { "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", diff --git a/commands/nom.js b/commands/nom.js index 4956020..98f4961 100644 --- a/commands/nom.js +++ b/commands/nom.js @@ -19,7 +19,7 @@ module.exports = { var gif = (gifchoices[index]); // --------------------------------------- const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", + "title": "<:AnitroxError:809651936563429416> Error", "color": 9442302, "footer": { "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", diff --git a/commands/pat.js b/commands/pat.js index 033b062..54dc598 100644 --- a/commands/pat.js +++ b/commands/pat.js @@ -18,7 +18,7 @@ module.exports = { var gif = (gifchoices[index]); // --------------------------------------- const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", + "title": "<:AnitroxError:809651936563429416> Error", "color": 9442302, "footer": { "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", diff --git a/commands/ping.js b/commands/ping.js index e137f35..17b350b 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -4,7 +4,7 @@ module.exports = { execute(client, message, args) { const embed = { "title": ":ping_pong: Ping", - "color": 15433939, + "color": 9442302, "fields": [ { "name": "Ping is " + client.ws.ping + " ms", diff --git a/commands/poke.js b/commands/poke.js index eb04bfb..1803d64 100644 --- a/commands/poke.js +++ b/commands/poke.js @@ -18,7 +18,7 @@ module.exports = { var gif = (gifchoices[index]); // --------------------------------------- const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", + "title": "<:AnitroxError:809651936563429416> Error", "color": 9442302, "footer": { "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", diff --git a/commands/reload.js b/commands/reload.js index 387c418..a434e39 100644 --- a/commands/reload.js +++ b/commands/reload.js @@ -2,7 +2,7 @@ module.exports = { name: 'reload', description: 'Reloads a command', args: true, - execute(client, message, args) { + execute(client, message, args, denied) { if (message.author.id == 309427567004483586) { const commandName = args[0].toLowerCase(); const command = message.client.commands.get(commandName) @@ -21,7 +21,7 @@ module.exports = { console.log('User reloaded ${command.name}.') } catch (error) { console.error(error); - message.channel.send(`There was an error while reloading \`${command.name}\`:\n\`${error.message}\``); + message.channel.send(`<:AnitroxError:809651936563429416> There was an error while reloading \`${command.name}\`:\n\`${error.message}\``); } } else { const embed = { diff --git a/commands/restart.js b/commands/restart.js index 9c6e695..009cc4a 100644 --- a/commands/restart.js +++ b/commands/restart.js @@ -3,7 +3,7 @@ module.exports = { name: 'restart', description: '(Owner Only) Shuts down the bot.', execute(client, message, args) { - const { token } = require('./config.json'); + const { token } = require('../config.json'); if (message.author.id == 309427567004483586) { message.channel.send(" Restarting...").then client.destroy() diff --git a/commands/setnick.js b/commands/setnick.js index 6965e77..bbe388e 100644 --- a/commands/setnick.js +++ b/commands/setnick.js @@ -1,6 +1,6 @@ -module.exports = { - name: "setnick", - description: "Set yours or another users nickname." - execute(client, message, args) { +//module.exports = { +// name: "setnick", +// description: "Set yours or another users nickname." +// execute(client, message, args) { \ No newline at end of file diff --git a/commands/slap.js b/commands/slap.js index 0582203..721acb8 100644 --- a/commands/slap.js +++ b/commands/slap.js @@ -9,7 +9,7 @@ module.exports = { //--------------------------------------------------- const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", + "title": "<:AnitroxError:809651936563429416> Error", "color": 13632027, "footer": { "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", diff --git a/commands/stop.js b/commands/stop.js index 46a1e6b..66a2a74 100644 --- a/commands/stop.js +++ b/commands/stop.js @@ -2,12 +2,27 @@ module.exports = { name: 'stop', description: '(Owner Only) Shuts down the bot.', - execute(client, message, args) { + execute( client, message, args, denied) { if (message.author.id == 309427567004483586) { - message.channel.send(" Shutting Down...").then + message.channel.send(" The bot is stopping!") + .then client.destroy() .catch(console.error) } else { - message.channel.send("<:NyabotDenied:697145462565896194> Access Denied, You must be bot owner to execute this command."); + const embed = { + "title": denied + "**Access is denied**", + "color": 13632027, + "footer": { + "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Anitrox © IDeletedSystem64 2018-2021 All Rights Reserved." + }, + "fields": [ + { + "name": "**What Happened?**", + "value": "You don't have the appropriate permissions to run this command!" + } + ] + }; + message.channel.send({ embed }); } }} \ No newline at end of file diff --git a/commands/userinfo.js b/commands/userinfo.js index 4d2e9c2..71723c7 100644 --- a/commands/userinfo.js +++ b/commands/userinfo.js @@ -13,10 +13,12 @@ module.exports = { var i=0;i