Update icons to new Anitrox themed icons.
This commit is contained in:
parent
62338fff98
commit
d62381d2b4
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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 + ">!",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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": [
|
||||
{
|
||||
|
|
|
@ -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 });
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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("<a:NyabotWorking:697147309531594843> Restarting...").then
|
||||
client.destroy()
|
||||
|
|
|
@ -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) {
|
||||
|
||||
|
|
@ -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",
|
||||
|
|
|
@ -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("<a:NyabotWorking:697147309531594843> Shutting Down...").then
|
||||
message.channel.send("<a:NyabotWorking:697147309531594843> 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 });
|
||||
}
|
||||
}}
|
|
@ -13,10 +13,12 @@ module.exports = {
|
|||
var i=0;i<user.presence.activities.length;i
|
||||
const activity = user.presence.activities[i];
|
||||
|
||||
|
||||
if(!activity) {
|
||||
const activity = "This user doesn't have a set status"
|
||||
// Checks if a user was mentioned. If not, returns error message.
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
const embed = {
|
||||
"title": "Everything you've ever wanted to know about " + user.username + "!",
|
||||
|
@ -25,7 +27,7 @@ module.exports = {
|
|||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||
},
|
||||
|
||||
|
||||
"thumbnail": {
|
||||
"url": user.displayAvatarURL()
|
||||
},
|
||||
|
|
Reference in New Issue