Update PTB to Anitrox PTB 5

Anitrox PTB Release 5 (Build 465) adds new fixes and features to Anitrox.
+ Fixed action command GIF issues. They should always show GIFs now. 
+ Anitrox now has a Trello! You can check it out at bit.ly/anitrox-trello
+ Added 8ball, Ask Anitrox ANY question and they will answer! Thanks to @OfficialTCGMatt for helping me finish this.
+ Added snuggle, This may be so I can snuggle my girlfriend with the bot 👀
+ userinfo is now finished!
+ reload has been updated to fix an issue that allowed any user to access the command and reload commands.
~ Added new GIF to hug command. 

Anitrox Fun Fact no.1: Anitrox uses they/them pronouns.
This commit is contained in:
Anthony M 2021-02-06 12:23:12 -06:00 committed by GitHub
commit e2d940e930
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 324 additions and 169 deletions

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# Anitrox Dev
# aka anitrox_unstable
This is for dev builds of Anitrox, This will be pushed to Anitrox PTB once things are confirmed working/finished.

39
commands/8ball.js Normal file
View file

@ -0,0 +1,39 @@
module.exports = {
name: '8ball',
description: 'Ask Anitrox a question, any question! and they will answer it!',
execute(client, message, args) {
const answers = [
"Heck no!",
"Are you crazy!? No!",
"Don't even think about it.",
"No! You might bork something!",
"Heck yeah",
"YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE",
"Definitely!",
"Go for it! :smile:"
// This should have a 50/50 amount of yes and no answers for equality even though anitrox doesn't seem to care 🙃
]
const index = Math.floor(Math.random() * (answers.length - 1) + 1);
var question = args.slice(0).join(" ")
var answer = (answers[index]);
console.log(args);
const embed = {
"title": ":8ball: Anitrox 8 Ball",
"description": "Your question: **" + question + "**",
"color": 6942950,
"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"
},
"fields": [
{
"name": "🤔 My Answer",
"value": answer
}
]
};
message.channel.send({ embed });
}
}

View file

@ -28,7 +28,7 @@ module.exports = {
const embed = { const embed = {
"title": "<a:SylvBonk:801185845847130113> Bonk", "title": "<a:SylvBonk:801185845847130113> Bonk",
"description": "<@" + taggedUser + ">" + " You have been bonked by <@" + messageAuthor + ">!", "description": "<@" + taggedUser + ">" + " You have been bonked by <@" + messageAuthor + ">!",
"color": 3272562, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"

View file

@ -1,5 +0,0 @@
{
"prefix": "n!",
"token": "NTQwOTQxNjc5MDQ2Mjk1NTUz.XotbnA.0hllsNlr9hWaepl3KwB1Bhh5TnA",
"ownerID": "309427567004483586"
}

View file

@ -20,7 +20,7 @@ module.exports = {
const embed = { const embed = {
"title": ":heart: Cuddle", "title": ":heart: Cuddle",
"description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!", "description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!",
"color": 8311585, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"

View file

@ -4,34 +4,41 @@ module.exports = {
description: '', description: '',
execute(client, message, args) { execute(client, message, args) {
const messageAuthor = message.author
const embed = { const embed = {
"title": "<:NyabotInfo:697145463350231040> **Help? HELP!** ", "title": "<:NyabotInfo:697145463350231040> **HELP** " + messageAuthor.username + " **THE BOT IS ON FIRE!** ",
"color": 9540095, "color": 9540095,
"description": "<:NyabotWarning:697145463194910791> Not all commands have been implemented, and may be removed without warning.", "description": "More commands are soon to come, stay tuned!",
"footer": { "footer": {
"text": "Some commands are hidden for dev-only. | Anitrox © IDeletedSystem64 2018-2021" "text": "Some commands are hidden for dev-only. | Anitrox © IDeletedSystem64 2018-2021"
}, },
"fields": [ "fields": [
{ {
"name": "**General Commands**", "name": "Utility Commands",
"value": "`help` ``info`` ``userinfo`` ``ping`` ``invite`` ``avatar`` ``google`` ``youtube``" "value": "`help` ``info`` ``userinfo`` ``ping`` ``invite`` ``avatar``"
}, },
{ {
"name": "Moderation Commands", "name": "Moderation Commands",
"value": "`ban` `kick` `warn` `mute` `unban` `unmute` `purge` `permissions`" "value": "`ban`/`unban` `kick` `mute`/`unmute` "
}, },
{ {
"name": "Server Management Commands", "name": "Server Management Commands",
"value": "` channelcreate` `channeldelete` `channelrename` `rolecreate` `roleedit` `roledelete` `setnick`" "value": "`makerole`/`delrole`/`editrole` `setnick` `makechan`/`editchan`/`delchan` "
}, },
{ {
"name": "Fun Commands", "name": "Action Commands",
"value": "`hug` `poke` `bonk` `slap` `pat` `kiss` `lick` `cuddle` `nom` `leskiss`" "value": "`hug` `poke` `bonk` `slap` `pat` `kiss` `lick` `cuddle` `nom` `leskiss` `snuggle`"
}, },
{ {
"name": "**Need additional help or want to report an issue?**", "name": "**...or is the bot actually on fire? Come here for help and support!**",
"value": "https://discord.gg/grebRGsBZ3" "value": "bit.ly/anitrox-help"
},
{
"name": "**Or you can view the bot progress, known issues, and planned features!**",
"value": "bit.ly/anitrox-trello"
} }
] ]
}; };
message.channel.send({ embed }); message.channel.send({ embed });

View file

@ -11,7 +11,8 @@ module.exports = {
"https://cdn.lowgif.com/full/91e3f30773596637-.gif", "https://cdn.lowgif.com/full/91e3f30773596637-.gif",
"https://thumbs.gfycat.com/WealthyWastefulBluemorphobutterfly-size_restricted.gif", "https://thumbs.gfycat.com/WealthyWastefulBluemorphobutterfly-size_restricted.gif",
"https://data.whicdn.com/images/294164107/original.gif", "https://data.whicdn.com/images/294164107/original.gif",
"https://media1.tenor.com/images/e5e7779385d003db13396e03b7fd1024/tenor.gif?itemid=16619907" "https://media1.tenor.com/images/e5e7779385d003db13396e03b7fd1024/tenor.gif?itemid=16619907",
"https://cdn.discordapp.com/attachments/803658122299572255/806775446095396915/hug.gif"
]; ];
//--------------------------------- //---------------------------------
const errorembed = { const errorembed = {

View file

@ -91,10 +91,6 @@ const version = ("Public Test Release 4.1 (build 444)")
"value": Math.round(client.ws.ping) + " ms", "value": Math.round(client.ws.ping) + " ms",
"inline": true "inline": true
}, },
{
"name": "<:NyabotInfo:697145463350231040> **Want more system information?**",
"value": "Run np!sysinfo for more detailed system information (Coming Soon™)"
},
{ {
"name": "<:usersuccess:793885338250641469> **Special Thanks To**", "name": "<:usersuccess:793885338250641469> **Special Thanks To**",
"value": "@OfficialTCGMatt for providing help with development/n @chuu_shi Allowing me to host Anitrox on his server" "value": "@OfficialTCGMatt for providing help with development/n @chuu_shi Allowing me to host Anitrox on his server"

View file

@ -9,12 +9,11 @@ module.exports = {
// -------------------------------------- // --------------------------------------
const gifchoices = [ const gifchoices = [
"https://thumbs.gfycat.com/SlowGlossyBlackcrappie-small.gif", "https://cdn.discordapp.com/attachments/803658122299572255/807671954055626812/kiss5.gif",
"https://media0.giphy.com/media/12VXIxKaIEarL2/giphy.gif", "https://cdn.discordapp.com/attachments/803658122299572255/807671956236140554/kiss2.gif",
"https://cutewallpaper.org/21/anime-kiss-girl/Anime-Kissing-GIF-Anime-Kissing-Girl-Discover-Share-GIFs.gif", "https://cdn.discordapp.com/attachments/803658122299572255/807671964599713862/kiss1.gif",
"https://i.makeagif.com/media/4-29-2017/orH05W.gif", "https://cdn.discordapp.com/attachments/803658122299572255/807671971168387082/kiss4.gif",
"https://31.media.tumblr.com/ea7842aad07c00b098397bf4d00723c6/tumblr_n570yg0ZIv1rikkvpo1_500.gif" "https://cdn.discordapp.com/attachments/803658122299572255/807672017217781840/kiss3.gif"
]; ];
const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1);
var gif = (gifchoices[index]); var gif = (gifchoices[index]);
@ -37,10 +36,15 @@ module.exports = {
if(!taggedUser) { if(!taggedUser) {
return message.channel.send({ embed: errorembed}); return message.channel.send({ embed: errorembed});
} }
if(!taggedUser) {
return message.channel.send({ embed: errorembed});
// Checks if a user was mentioned. If not, returns error message.
}
const embed = { const embed = {
"title": ":heart: Kiss", "title": ":heart: Kiss",
"description": "<@" + taggedUser + ">" + ", You have been kissed by <@" + messageAuthor + ">!", "description": "<@" + taggedUser + ">" + ", You have been kissed by <@" + messageAuthor + ">!",
"color": 8311585, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"

View file

@ -27,12 +27,12 @@ module.exports = {
"https://cdn.discordapp.com/attachments/793537380330111028/803834514269798460/gif19.gif" "https://cdn.discordapp.com/attachments/793537380330111028/803834514269798460/gif19.gif"
]; ];
const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1.75);
var gif = (gifchoices[index]); var gif = (gifchoices[index]);
// --------------------------------------- // ---------------------------------------
const errorembed = { const errorembed = {
"title": "<:NyabotError:697145462347661412> Error", "title": "<:NyabotError:697145462347661412> Error",
"color": 13632027, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "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" "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"

View file

@ -6,11 +6,22 @@ module.exports = {
const messageAuthor = message.author const messageAuthor = message.author
const taggedUser = message.mentions.users.first(); const taggedUser = message.mentions.users.first();
//--------------------------------------------------- //---------------------------------------------------
// --------------------------------------
const gifchoices = [
"https://cdn.discordapp.com/attachments/803658122299572255/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif",
"https://cdn.lowgif.com/full/2027501b8fa5225c-.gif",
"https://i.gifer.com/36Nx.gif",
"https://media.tenor.com/images/e8bbe712a5f36bbe9545930894b08bf9/tenor.gif"
];
const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1);
var gif = (gifchoices[index]);
// ---------------------------------------
//--------------------------------------------------- //---------------------------------------------------
const errorembed = { const errorembed = {
"title": "<:NyabotError:697145462347661412> Error", "title": "<:NyabotError:697145462347661412> Error",
"color": 13632027, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "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" "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
@ -29,7 +40,7 @@ if(!taggedUser) {
} }
const embed = { const embed = {
"title": "Lick", "title": "<a:LeafeonLick:806396195089154058> Lick",
"description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!", "description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!",
"color": 8311585, "color": 8311585,
"footer": { "footer": {

View file

@ -20,7 +20,7 @@ module.exports = {
// --------------------------------------- // ---------------------------------------
const errorembed = { const errorembed = {
"title": "<:NyabotError:697145462347661412> Error", "title": "<:NyabotError:697145462347661412> Error",
"color": 13632027, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "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" "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"

View file

@ -19,7 +19,7 @@ module.exports = {
// --------------------------------------- // ---------------------------------------
const errorembed = { const errorembed = {
"title": "<:NyabotError:697145462347661412> Error", "title": "<:NyabotError:697145462347661412> Error",
"color": 13632027, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "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" "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"

View file

@ -19,7 +19,7 @@ module.exports = {
// --------------------------------------- // ---------------------------------------
const errorembed = { const errorembed = {
"title": "<:NyabotError:697145462347661412> Error", "title": "<:NyabotError:697145462347661412> Error",
"color": 13632027, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "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" "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"

View file

@ -1,26 +1,44 @@
module.exports = { module.exports = {
name: 'reload', name: 'reload',
description: 'Reloads a command', description: 'Reloads a command',
args: true, args: true,
execute(client, message, args) { execute(client, message, args) {
const commandName = args[0].toLowerCase(); if (message.author.id == 309427567004483586) {
const command = message.client.commands.get(commandName) const commandName = args[0].toLowerCase();
|| message.client.commands.find(cmd => cmd.aliases && cmd.aliases.includes(commandName)); const command = message.client.commands.get(commandName)
|| message.client.commands.find(cmd => cmd.aliases && cmd.aliases.includes(commandName));
if (!command) {
return message.channel.send(`There is no command with name or alias \`${commandName}\`, ${message.author}!`); if (!command) {
} return message.channel.send(`There is no command with name or alias \`${commandName}\`, ${message.author}!`);
}
delete require.cache[require.resolve(`./${command.name}.js`)];
delete require.cache[require.resolve(`./${command.name}.js`)];
try {
const newCommand = require(`./${command.name}.js`); try {
message.client.commands.set(newCommand.name, newCommand); const newCommand = require(`./${command.name}.js`);
message.channel.send(`<:NyabotSuccess:697211376740859914> **Reloaded \`${command.name}\` successfully!**`); message.client.commands.set(newCommand.name, newCommand);
console.log('User reloaded ${command.name}.') message.channel.send(`<:NyabotSuccess:697211376740859914> **Reloaded \`${command.name}\` successfully!**`);
} catch (error) { console.log('User reloaded ${command.name}.')
console.error(error); } catch (error) {
message.channel.send(`There was an error while reloading \`${command.name}\`:\n\`${error.message}\``); console.error(error);
} message.channel.send(`There was an error while reloading \`${command.name}\`:\n\`${error.message}\``);
}, }
} else {
const embed = {
"title": "<:NyabotDenied:697145462565896194> **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 });
}
},
}; };

View file

@ -31,7 +31,7 @@ if(!taggedUser) {
const embed = { const embed = {
"title": ":anger: Slap", "title": ":anger: Slap",
"description": "<@" + taggedUser + "> You have been slapped by <@" + messageAuthor + ">!", "description": "<@" + taggedUser + "> You have been slapped by <@" + messageAuthor + ">!",
"color": 8311585, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"

36
commands/snuggle.js Normal file
View file

@ -0,0 +1,36 @@
module.exports = {
name: "snuggle",
description: "Snuggle an user!",
execute(client, message, args) {
const messageAuthor = message.author
const taggedUser = message.mentions.users.first();
// --------------------------------------
const gifchoices = [
"https://media.discordapp.net/attachments/803658122299572255/806775382995894282/anime-couple-snuggle-gif-5.gif?width=450&height=238",
"https://media.discordapp.net/attachments/803658122299572255/806775411928989726/snuggl1.gif",
"https://cdn.discordapp.com/attachments/803658122299572255/806775422833786911/ImpureDeepAmbushbug-small.gif"
];
const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1);
var gif = (gifchoices[index]);
// ---------------------------------------
const embed = {
"title": "<:BlobSnuggleCat:806759753450782731> Snuggle",
"description": "<@" + taggedUser + ">" + " You have been snuggled by " + "<@" + messageAuthor + ">!",
"color": 9442302,
"footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
},
"image": {
"url": gif
}
}
message.channel.send({ embed: embed });
}
}

View file

@ -1 +0,0 @@
This is really just to make a directory lol.

View file

@ -4,34 +4,56 @@ module.exports = {
description: "Gets info about an user, such as ID, Discord Join date and more.", description: "Gets info about an user, such as ID, Discord Join date and more.",
execute(client, message, args) { execute(client, message, args) {
const taggedUser = message.mentions.users.first();
const user = message.mentions.users.first();
var i=0;i<user.presence.activities.length;i
const activity = user.presence.activities[i];
const embed = { const embed = {
"title": "Everything you've ever wanted to know about " + taggedUser.username + "!", "title": "Everything you've ever wanted to know about " + user.username + "!",
"color": 172544, "color": 9442302,
"footer": { "footer": {
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
}, },
"thumbnail": { "thumbnail": {
"url": taggedUser.displayAvatarURL() "url": user.displayAvatarURL()
}, },
"fields": [ "fields": [
{
"name": "Attention",
"value": "This command isn't yet finished, More info will be added soon!"
},
{ {
"name": "Full Username", "name": "Full Username",
"value": taggedUser.tag "value": user.tag
},
{
"name": "User Profile Picture",
"value": user.displayAvatarURL()
},
{
"name": "User Presence",
value: user.presence.status
},
{
"name": "Custom Status",
value: activity.state
}, },
{ {
"name": "User ID", "name": "User ID",
"value": "``" + taggedUser.id + "``" "value": "``" + user.id + "``"
}, },
{ {
"name": "User Joined Discord", "name": "User Joined Discord",
"value": taggedUser.createdAt, "value": user.createdAt,
inline: true inline: true
}, },

192
start.js
View file

@ -1,95 +1,97 @@
console.log('Preparing to start!') console.log('Preparing to start!')
const fs = require('fs'); const fs = require('fs');
const Discord = require('discord.js'); const Discord = require('discord.js');
const { prefix, token } = require('./config.json'); const { prefix, token } = require('./config.json');
const os = require("os"); const os = require("os");
const version = "build 444";
const release = "anitrox_ptb" const version = "build 465";
const activities_list = [
"with np!help", const release = "anitrox_ptb"
"Where am I?", const activities_list = [
"with Sylveons!", "with np!help",
"on my host's hard disk", "Where am I?",
"with Sophie", "with Sylveons!",
"HAAAAAAAAPPPPPPPYYYYYYYYYYYYYYYYYYYY", "on my host's hard disk",
"Running on " + process.platform + " / " + os.version() + "!", "with Sophie",
"with the tea machine", "HAAAAAAAAPPPPPPPYYYYYYYYYYYYYYYYYYYY",
"with Borked Computers", "Running on " + process.platform + " / " + os.version() + "!",
"on Sophie's main PC- wait shoot she's coming", "with the tea machine",
"btw I use Debian linux", "with Borked Computers",
"Watching you", "on Sophie's main PC- wait shoot she's coming",
"Running " + release + " Version " + version, "btw I use Debian linux",
"in Incognito Mode- wait what", "Watching you",
"uwu", "Running " + release + " Version " + version,
"Team Fortress 2 with Sophie", "in Incognito Mode- wait what",
"videos on Hulu", "uwu",
"American Truck Simulator", "Team Fortress 2 with Sophie",
"my users!", "videos on Hulu",
"with Sophies skirt" "American Truck Simulator",
]; "with my users!",
"with Sophies skirt"
console.log('Starting! This should only take a moment.') ];
const client = new Discord.Client();
client.commands = new Discord.Collection(); console.log('Starting! This should only take a moment.')
const footicon = "https://cdn.discordapp.com/attachments/803658122299572255/805506708352008232/system64.png" const client = new Discord.Client();
const footer = "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" client.commands = new Discord.Collection();
const footicon = "https://cdn.discordapp.com/attachments/803658122299572255/805506708352008232/system64.png"
const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); const footer = "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
for (const file of commandFiles) { const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js'));
const command = require(`./commands/${file}`);
client.commands.set(command.name, command); for (const file of commandFiles) {
} const command = require(`./commands/${file}`);
client.commands.set(command.name, command);
client.on("error", (e) => console.error(e)); }
client.on("warn", (e) => console.warn(e));
client.on("error", (e) => console.error(e));
client.once('ready', () => { client.on("warn", (e) => console.warn(e));
console.log(' ___ _ __ ');
console.log(' / | ____ (_) /__________ _ __'); client.once('ready', () => {
console.log(' / /| | / __ \/ / __/ ___/ __ \| |/_/'); console.log(' ___ _ __ ');
console.log(' / ___ |/ / / / / /_/ / / /_/ /> < '); console.log(' / | ____ (_) /__________ _ __');
console.log('/_/ |_/_/ /_/_/\__/_/ \____/_/|_| ') console.log(' / /| | / __ \/ / __/ ___/ __ \| |/_/');
console.log(' / ___ |/ / / / / /_/ / / /_/ /> < ');
console.log('All Systems Go. | Anitrox (C) 2021 IDeletedSystem64.'); console.log('/_/ |_/_/ /_/_/\__/_/ \____/_/|_| ')
});
setInterval(() => { console.log('All Systems Go. | Anitrox (C) 2021 IDeletedSystem64.');
const index = Math.floor(Math.random() * (activities_list.length - 1) + 1); });
client.user.setActivity(activities_list[index]); setInterval(() => {
}, 20000); const index = Math.floor(Math.random() * (activities_list.length - 1) + 1);
client.user.setActivity(activities_list[index]);
client.on('message', message => { }, 20000);
if (!message.content.startsWith(prefix) || message.author.bot) return;
client.on('message', message => {
const args = message.content.slice(prefix.length).split(/ +/); if (!message.content.startsWith(prefix) || message.author.bot) return;
const command = args.shift().toLowerCase();
const args = message.content.slice(prefix.length).split(/ +/);
if (!client.commands.has(command)) return; const command = args.shift().toLowerCase();
try { if (!client.commands.has(command)) return;
client.commands.get(command).execute(client, message, args);
} catch (error) { try {
console.error client.commands.get(command).execute(client, message, args);
const embed = { } catch (error) {
"title": "<:NyabotError:697145462347661412> **Well that happened...**", console.error
"color": 13632027, const embed = {
"footer": { "title": "<:NyabotError:697145462347661412> **Well that happened...**",
"icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "color": 13632027,
"text": "Anitrox © IDeletedSystem64 2018-2021 All Rights Reserved." "footer": {
}, "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
"fields": [ "text": "Anitrox © IDeletedSystem64 2018-2021 All Rights Reserved."
{ },
"name": "**What Happened?**", "fields": [
"value": "The command you tried to run failed to execute due to an error." {
}, "name": "**What Happened?**",
{ "value": "The command you tried to run failed to execute due to an error."
"name": "Error Info", },
"value": error.message {
} "name": "Error Info",
] "value": error.message
}; }
message.channel.send({ embed }); ]
} };
}); message.channel.send({ embed });
}
client.login(token); });
client.login(token);

22
statuses.json Normal file
View file

@ -0,0 +1,22 @@
{
"activities_list": {
with np!help
Where am I?
with Sylveons!
on my host's hard disk
with Sophie
HAAAAAAAAPPPPPPPYYYYYYYYYYYYYYYYYYYY
with the tea machine
with Borked Computers
on Sophie's main PC- wait shoot she's coming
btw I use Debian linux
Watching you
in Incognito Mode- wait what
uwu
Team Fortress 2 with Sophie
videos on Hulu
American Truck Simulator
my users!
with Sophies skir
}
}