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:
commit
e2d940e930
21 changed files with 324 additions and 169 deletions
3
README.md
Normal file
3
README.md
Normal 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
39
commands/8ball.js
Normal 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 });
|
||||
}
|
||||
}
|
|
@ -28,7 +28,7 @@ module.exports = {
|
|||
const embed = {
|
||||
"title": "<a:SylvBonk:801185845847130113> Bonk",
|
||||
"description": "<@" + taggedUser + ">" + " You have been bonked by <@" + messageAuthor + ">!",
|
||||
"color": 3272562,
|
||||
"color": 9442302,
|
||||
"footer": {
|
||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"prefix": "n!",
|
||||
"token": "NTQwOTQxNjc5MDQ2Mjk1NTUz.XotbnA.0hllsNlr9hWaepl3KwB1Bhh5TnA",
|
||||
"ownerID": "309427567004483586"
|
||||
}
|
|
@ -20,7 +20,7 @@ module.exports = {
|
|||
const embed = {
|
||||
"title": ":heart: Cuddle",
|
||||
"description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!",
|
||||
"color": 8311585,
|
||||
"color": 9442302,
|
||||
"footer": {
|
||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
||||
|
|
|
@ -4,34 +4,41 @@ module.exports = {
|
|||
description: '',
|
||||
execute(client, message, args) {
|
||||
|
||||
const messageAuthor = message.author
|
||||
const embed = {
|
||||
"title": "<:NyabotInfo:697145463350231040> **Help? HELP!** ",
|
||||
"title": "<:NyabotInfo:697145463350231040> **HELP** " + messageAuthor.username + " **THE BOT IS ON FIRE!** ",
|
||||
"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": {
|
||||
"text": "Some commands are hidden for dev-only. | Anitrox © IDeletedSystem64 2018-2021"
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"name": "**General Commands**",
|
||||
"value": "`help` ``info`` ``userinfo`` ``ping`` ``invite`` ``avatar`` ``google`` ``youtube``"
|
||||
"name": "Utility Commands",
|
||||
"value": "`help` ``info`` ``userinfo`` ``ping`` ``invite`` ``avatar``"
|
||||
},
|
||||
{
|
||||
"name": "Moderation Commands",
|
||||
"value": "`ban` `kick` `warn` `mute` `unban` `unmute` `purge` `permissions`"
|
||||
"value": "`ban`/`unban` `kick` `mute`/`unmute` "
|
||||
},
|
||||
{
|
||||
"name": "Server Management Commands",
|
||||
"value": "` channelcreate` `channeldelete` `channelrename` `rolecreate` `roleedit` `roledelete` `setnick`"
|
||||
"value": "`makerole`/`delrole`/`editrole` `setnick` `makechan`/`editchan`/`delchan` "
|
||||
},
|
||||
{
|
||||
"name": "Fun Commands",
|
||||
"value": "`hug` `poke` `bonk` `slap` `pat` `kiss` `lick` `cuddle` `nom` `leskiss`"
|
||||
"name": "Action Commands",
|
||||
"value": "`hug` `poke` `bonk` `slap` `pat` `kiss` `lick` `cuddle` `nom` `leskiss` `snuggle`"
|
||||
},
|
||||
{
|
||||
"name": "**Need additional help or want to report an issue?**",
|
||||
"value": "https://discord.gg/grebRGsBZ3"
|
||||
"name": "**...or is the bot actually on fire? Come here for help and support!**",
|
||||
"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 });
|
||||
|
|
|
@ -11,7 +11,8 @@ module.exports = {
|
|||
"https://cdn.lowgif.com/full/91e3f30773596637-.gif",
|
||||
"https://thumbs.gfycat.com/WealthyWastefulBluemorphobutterfly-size_restricted.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 = {
|
||||
|
|
|
@ -91,10 +91,6 @@ const version = ("Public Test Release 4.1 (build 444)")
|
|||
"value": Math.round(client.ws.ping) + " ms",
|
||||
"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**",
|
||||
"value": "@OfficialTCGMatt for providing help with development/n @chuu_shi Allowing me to host Anitrox on his server"
|
||||
|
|
|
@ -9,12 +9,11 @@ module.exports = {
|
|||
|
||||
// --------------------------------------
|
||||
const gifchoices = [
|
||||
"https://thumbs.gfycat.com/SlowGlossyBlackcrappie-small.gif",
|
||||
"https://media0.giphy.com/media/12VXIxKaIEarL2/giphy.gif",
|
||||
"https://cutewallpaper.org/21/anime-kiss-girl/Anime-Kissing-GIF-Anime-Kissing-Girl-Discover-Share-GIFs.gif",
|
||||
"https://i.makeagif.com/media/4-29-2017/orH05W.gif",
|
||||
"https://31.media.tumblr.com/ea7842aad07c00b098397bf4d00723c6/tumblr_n570yg0ZIv1rikkvpo1_500.gif"
|
||||
|
||||
"https://cdn.discordapp.com/attachments/803658122299572255/807671954055626812/kiss5.gif",
|
||||
"https://cdn.discordapp.com/attachments/803658122299572255/807671956236140554/kiss2.gif",
|
||||
"https://cdn.discordapp.com/attachments/803658122299572255/807671964599713862/kiss1.gif",
|
||||
"https://cdn.discordapp.com/attachments/803658122299572255/807671971168387082/kiss4.gif",
|
||||
"https://cdn.discordapp.com/attachments/803658122299572255/807672017217781840/kiss3.gif"
|
||||
];
|
||||
const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1);
|
||||
var gif = (gifchoices[index]);
|
||||
|
@ -37,10 +36,15 @@ module.exports = {
|
|||
if(!taggedUser) {
|
||||
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 = {
|
||||
"title": ":heart: Kiss",
|
||||
"description": "<@" + taggedUser + ">" + ", You have been kissed by <@" + messageAuthor + ">!",
|
||||
"color": 8311585,
|
||||
"color": 9442302,
|
||||
"footer": {
|
||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
||||
|
|
|
@ -27,12 +27,12 @@ module.exports = {
|
|||
"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]);
|
||||
// ---------------------------------------
|
||||
const errorembed = {
|
||||
"title": "<:NyabotError:697145462347661412> Error",
|
||||
"color": 13632027,
|
||||
"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,11 +6,22 @@ module.exports = {
|
|||
const messageAuthor = message.author
|
||||
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 = {
|
||||
"title": "<:NyabotError:697145462347661412> Error",
|
||||
"color": 13632027,
|
||||
"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"
|
||||
|
@ -29,7 +40,7 @@ if(!taggedUser) {
|
|||
}
|
||||
|
||||
const embed = {
|
||||
"title": "Lick",
|
||||
"title": "<a:LeafeonLick:806396195089154058> Lick",
|
||||
"description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!",
|
||||
"color": 8311585,
|
||||
"footer": {
|
||||
|
|
|
@ -20,7 +20,7 @@ module.exports = {
|
|||
// ---------------------------------------
|
||||
const errorembed = {
|
||||
"title": "<:NyabotError:697145462347661412> Error",
|
||||
"color": 13632027,
|
||||
"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"
|
||||
|
|
|
@ -19,7 +19,7 @@ module.exports = {
|
|||
// ---------------------------------------
|
||||
const errorembed = {
|
||||
"title": "<:NyabotError:697145462347661412> Error",
|
||||
"color": 13632027,
|
||||
"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"
|
||||
|
|
|
@ -19,7 +19,7 @@ module.exports = {
|
|||
// ---------------------------------------
|
||||
const errorembed = {
|
||||
"title": "<:NyabotError:697145462347661412> Error",
|
||||
"color": 13632027,
|
||||
"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"
|
||||
|
|
|
@ -1,26 +1,44 @@
|
|||
module.exports = {
|
||||
name: 'reload',
|
||||
description: 'Reloads a command',
|
||||
args: true,
|
||||
execute(client, message, args) {
|
||||
const commandName = args[0].toLowerCase();
|
||||
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}!`);
|
||||
}
|
||||
|
||||
delete require.cache[require.resolve(`./${command.name}.js`)];
|
||||
|
||||
try {
|
||||
const newCommand = require(`./${command.name}.js`);
|
||||
message.client.commands.set(newCommand.name, newCommand);
|
||||
message.channel.send(`<:NyabotSuccess:697211376740859914> **Reloaded \`${command.name}\` successfully!**`);
|
||||
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}\``);
|
||||
}
|
||||
},
|
||||
module.exports = {
|
||||
name: 'reload',
|
||||
description: 'Reloads a command',
|
||||
args: true,
|
||||
execute(client, message, args) {
|
||||
if (message.author.id == 309427567004483586) {
|
||||
const commandName = args[0].toLowerCase();
|
||||
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}!`);
|
||||
}
|
||||
|
||||
delete require.cache[require.resolve(`./${command.name}.js`)];
|
||||
|
||||
try {
|
||||
const newCommand = require(`./${command.name}.js`);
|
||||
message.client.commands.set(newCommand.name, newCommand);
|
||||
message.channel.send(`<:NyabotSuccess:697211376740859914> **Reloaded \`${command.name}\` successfully!**`);
|
||||
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}\``);
|
||||
}
|
||||
} 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 });
|
||||
}
|
||||
},
|
||||
};
|
|
@ -31,7 +31,7 @@ if(!taggedUser) {
|
|||
const embed = {
|
||||
"title": ":anger: Slap",
|
||||
"description": "<@" + taggedUser + "> You have been slapped by <@" + messageAuthor + ">!",
|
||||
"color": 8311585,
|
||||
"color": 9442302,
|
||||
"footer": {
|
||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||
"text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021"
|
||||
|
|
36
commands/snuggle.js
Normal file
36
commands/snuggle.js
Normal 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 });
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
This is really just to make a directory lol.
|
|
@ -4,34 +4,56 @@ module.exports = {
|
|||
description: "Gets info about an user, such as ID, Discord Join date and more.",
|
||||
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 = {
|
||||
"title": "Everything you've ever wanted to know about " + taggedUser.username + "!",
|
||||
"color": 172544,
|
||||
"title": "Everything you've ever wanted to know about " + user.username + "!",
|
||||
"color": 9442302,
|
||||
"footer": {
|
||||
"icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png",
|
||||
"text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||
},
|
||||
|
||||
"thumbnail": {
|
||||
"url": taggedUser.displayAvatarURL()
|
||||
"url": user.displayAvatarURL()
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"name": "Attention",
|
||||
"value": "This command isn't yet finished, More info will be added soon!"
|
||||
},
|
||||
|
||||
{
|
||||
"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",
|
||||
"value": "``" + taggedUser.id + "``"
|
||||
"value": "``" + user.id + "``"
|
||||
},
|
||||
{
|
||||
"name": "User Joined Discord",
|
||||
"value": taggedUser.createdAt,
|
||||
"value": user.createdAt,
|
||||
inline: true
|
||||
},
|
||||
|
||||
|
|
192
start.js
192
start.js
|
@ -1,95 +1,97 @@
|
|||
console.log('Preparing to start!')
|
||||
const fs = require('fs');
|
||||
const Discord = require('discord.js');
|
||||
const { prefix, token } = require('./config.json');
|
||||
const os = require("os");
|
||||
const version = "build 444";
|
||||
const release = "anitrox_ptb"
|
||||
const activities_list = [
|
||||
"with np!help",
|
||||
"Where am I?",
|
||||
"with Sylveons!",
|
||||
"on my host's hard disk",
|
||||
"with Sophie",
|
||||
"HAAAAAAAAPPPPPPPYYYYYYYYYYYYYYYYYYYY",
|
||||
"Running on " + process.platform + " / " + os.version() + "!",
|
||||
"with the tea machine",
|
||||
"with Borked Computers",
|
||||
"on Sophie's main PC- wait shoot she's coming",
|
||||
"btw I use Debian linux",
|
||||
"Watching you",
|
||||
"Running " + release + " Version " + version,
|
||||
"in Incognito Mode- wait what",
|
||||
"uwu",
|
||||
"Team Fortress 2 with Sophie",
|
||||
"videos on Hulu",
|
||||
"American Truck Simulator",
|
||||
"my users!",
|
||||
"with Sophies skirt"
|
||||
];
|
||||
|
||||
console.log('Starting! This should only take a moment.')
|
||||
const client = new Discord.Client();
|
||||
client.commands = new Discord.Collection();
|
||||
const footicon = "https://cdn.discordapp.com/attachments/803658122299572255/805506708352008232/system64.png"
|
||||
const footer = "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||
|
||||
const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js'));
|
||||
|
||||
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.once('ready', () => {
|
||||
console.log(' ___ _ __ ');
|
||||
console.log(' / | ____ (_) /__________ _ __');
|
||||
console.log(' / /| | / __ \/ / __/ ___/ __ \| |/_/');
|
||||
console.log(' / ___ |/ / / / / /_/ / / /_/ /> < ');
|
||||
console.log('/_/ |_/_/ /_/_/\__/_/ \____/_/|_| ')
|
||||
|
||||
console.log('All Systems Go. | Anitrox (C) 2021 IDeletedSystem64.');
|
||||
});
|
||||
setInterval(() => {
|
||||
const index = Math.floor(Math.random() * (activities_list.length - 1) + 1);
|
||||
client.user.setActivity(activities_list[index]);
|
||||
}, 20000);
|
||||
|
||||
client.on('message', message => {
|
||||
if (!message.content.startsWith(prefix) || message.author.bot) return;
|
||||
|
||||
const args = message.content.slice(prefix.length).split(/ +/);
|
||||
const command = args.shift().toLowerCase();
|
||||
|
||||
if (!client.commands.has(command)) return;
|
||||
|
||||
try {
|
||||
client.commands.get(command).execute(client, message, args);
|
||||
} catch (error) {
|
||||
console.error
|
||||
const embed = {
|
||||
"title": "<:NyabotError:697145462347661412> **Well that happened...**",
|
||||
"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": "The command you tried to run failed to execute due to an error."
|
||||
},
|
||||
{
|
||||
"name": "Error Info",
|
||||
"value": error.message
|
||||
}
|
||||
]
|
||||
};
|
||||
message.channel.send({ embed });
|
||||
}
|
||||
});
|
||||
|
||||
client.login(token);
|
||||
console.log('Preparing to start!')
|
||||
const fs = require('fs');
|
||||
const Discord = require('discord.js');
|
||||
const { prefix, token } = require('./config.json');
|
||||
const os = require("os");
|
||||
|
||||
const version = "build 465";
|
||||
|
||||
const release = "anitrox_ptb"
|
||||
const activities_list = [
|
||||
"with np!help",
|
||||
"Where am I?",
|
||||
"with Sylveons!",
|
||||
"on my host's hard disk",
|
||||
"with Sophie",
|
||||
"HAAAAAAAAPPPPPPPYYYYYYYYYYYYYYYYYYYY",
|
||||
"Running on " + process.platform + " / " + os.version() + "!",
|
||||
"with the tea machine",
|
||||
"with Borked Computers",
|
||||
"on Sophie's main PC- wait shoot she's coming",
|
||||
"btw I use Debian linux",
|
||||
"Watching you",
|
||||
"Running " + release + " Version " + version,
|
||||
"in Incognito Mode- wait what",
|
||||
"uwu",
|
||||
"Team Fortress 2 with Sophie",
|
||||
"videos on Hulu",
|
||||
"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();
|
||||
const footicon = "https://cdn.discordapp.com/attachments/803658122299572255/805506708352008232/system64.png"
|
||||
const footer = "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64"
|
||||
|
||||
const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js'));
|
||||
|
||||
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.once('ready', () => {
|
||||
console.log(' ___ _ __ ');
|
||||
console.log(' / | ____ (_) /__________ _ __');
|
||||
console.log(' / /| | / __ \/ / __/ ___/ __ \| |/_/');
|
||||
console.log(' / ___ |/ / / / / /_/ / / /_/ /> < ');
|
||||
console.log('/_/ |_/_/ /_/_/\__/_/ \____/_/|_| ')
|
||||
|
||||
console.log('All Systems Go. | Anitrox (C) 2021 IDeletedSystem64.');
|
||||
});
|
||||
setInterval(() => {
|
||||
const index = Math.floor(Math.random() * (activities_list.length - 1) + 1);
|
||||
client.user.setActivity(activities_list[index]);
|
||||
}, 20000);
|
||||
|
||||
client.on('message', message => {
|
||||
if (!message.content.startsWith(prefix) || message.author.bot) return;
|
||||
|
||||
const args = message.content.slice(prefix.length).split(/ +/);
|
||||
const command = args.shift().toLowerCase();
|
||||
|
||||
if (!client.commands.has(command)) return;
|
||||
|
||||
try {
|
||||
client.commands.get(command).execute(client, message, args);
|
||||
} catch (error) {
|
||||
console.error
|
||||
const embed = {
|
||||
"title": "<:NyabotError:697145462347661412> **Well that happened...**",
|
||||
"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": "The command you tried to run failed to execute due to an error."
|
||||
},
|
||||
{
|
||||
"name": "Error Info",
|
||||
"value": error.message
|
||||
}
|
||||
]
|
||||
};
|
||||
message.channel.send({ embed });
|
||||
}
|
||||
});
|
||||
|
||||
client.login(token);
|
||||
|
|
22
statuses.json
Normal file
22
statuses.json
Normal 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
|
||||
}
|
||||
}
|
Reference in a new issue