From f770fbbee99b98f3e316a1fb8f366ca14ca144f1 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 18:02:59 -0600 Subject: [PATCH 001/164] Remove token from config.json --- config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index 054d70b..885f58c 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,5 @@ { "prefix": "n!", - "token": "NTQwOTQxNjc5MDQ2Mjk1NTUz.XotbnA.0hllsNlr9hWaepl3KwB1Bhh5TnA", + "token": "", "ownerID": "309427567004483586" -} \ No newline at end of file +} From 0733744e642cfe66fc9bdca01929f4167bfdfc0e Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 18:04:07 -0600 Subject: [PATCH 002/164] Change prefix to prevent conflict Changed prefix from n! to np! to prevent conflict with the stable builds. --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 885f58c..b8dd239 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,5 @@ { - "prefix": "n!", + "prefix": "np!", "token": "", "ownerID": "309427567004483586" } From d3166d26d3680ee36c01032fe9c67eeba03ff0d3 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 18:09:50 -0600 Subject: [PATCH 003/164] Update start.js --- start.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/start.js b/start.js index 708d3ac..8049eaa 100644 --- a/start.js +++ b/start.js @@ -3,9 +3,9 @@ const fs = require('fs'); const Discord = require('discord.js'); const { prefix, token } = require('./config.json'); const os = require("os") -const version = "Test Release 21"; -const release = "anitrox_unstable" -const buildno = "404" +const version = "Public Test Release 1"; +const release = "anitrox_ptb" +const buildno = "430" console.log('Starting!') const client = new Discord.Client(); client.commands = new Discord.Collection(); @@ -75,4 +75,4 @@ client.on('message', message => { } }); -client.login(token); \ No newline at end of file +client.login(token); From 26f855e3b096fb433c502806a2f65b2aba3cf8dd Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 21:28:23 -0600 Subject: [PATCH 004/164] Update help.js and info.js --- commands/help.js | 2 +- commands/info.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/commands/help.js b/commands/help.js index 699fc87..c80a3b0 100644 --- a/commands/help.js +++ b/commands/help.js @@ -7,7 +7,7 @@ module.exports = { const embed = { "title": "<:NyabotInfo:697145463350231040> **Help? HELP!** ", "color": 9540095, - "description": "<:NyabotWarning:697145463194910791> Not all commands have been implemented. and may be removed without warning", + "description": "<:NyabotWarning:697145463194910791> Not all commands have been implemented, and may be removed without warning.", "footer": { "text": "Some commands are hidden for dev-only. | Anitrox © IDeletedSystem64 2018-2021" }, diff --git a/commands/info.js b/commands/info.js index 21519b8..bc324ca 100644 --- a/commands/info.js +++ b/commands/info.js @@ -24,13 +24,13 @@ module.exports = { -const version = ("DEV1.0") +const version = ("dev build 421") const release = ("anitrox_dev") const os = require("os") const embed = { - "title": "<:NyabotInfo:697145463350231040> Information about projectanitrox", - "description": "Everything you've ever wanted to know about projectanitrox!", + "title": "<:NyabotInfo:697145463350231040> Information about Anitrox", + "description": "Everything you've ever wanted to know about Anitrox!", "color": 11038194, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -93,11 +93,11 @@ const version = ("DEV1.0") }, { "name": "<:NyabotInfo:697145463350231040> **Want more system information?**", - "value": "Run n!sysinfo for more detailed 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" + "value": "@OfficialTCGMatt for providing help with development/n @chuu_shi Allowing me to host Anitrox on his server" } ] From 0e70cc9f9d3bf1e516368494363e27e5aa561495 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 21:29:39 -0600 Subject: [PATCH 005/164] Add footer variable to start.js for QOL --- start.js | 158 +++++++++++++++++++++++++++---------------------------- 1 file changed, 78 insertions(+), 80 deletions(-) diff --git a/start.js b/start.js index 7a3099b..c0843db 100644 --- a/start.js +++ b/start.js @@ -1,80 +1,78 @@ -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 = "Public Test Release 1"; -const release = "anitrox_ptb" -const buildno = "430" - -console.log('Starting!') -const client = new Discord.Client(); -client.commands = new Discord.Collection(); -const activities_list = [ - "with n!help", - "Where am I?", - "with Sylveons!", - "on my host's hard disk", - "with Happy", - "HAAAAAAAAPPPPPPPYYYYYYYYYYYYYYYYYYYY", - "Running on " + process.platform + " / " + os.version() + "!", - "with the tea machine", - "with Borked Computers", - "on Happy's main PC- wait shoot she's coming", - "btw I use Debian linux" -]; - - -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.on("debug", (e) => console.info(e)) -client.once('ready', () => { - console.log('All systems go.'); -}); -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) { - const embed = { - "title": "<:NyabotError:697145462347661412> **An error occurred!**", - "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" - }, - { - "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 = "Test Release 21"; +const release = "anitrox_unstable" +console.log('Starting!') +const client = new Discord.Client(); +client.commands = new Discord.Collection(); +const activities_list = [ + "with n!help", + "Where am I?", + "with Sylveons!", + "on my host's hard disk", + "with Happy", + "HAAAAAAAAPPPPPPPYYYYYYYYYYYYYYYYYYYY", + "Running on " + process.platform + " / " + os.version() + "!", + "with the tea machine", + "with Borked Computers", + "on Happy's main PC- wait shoot she's coming", + "btw I use Debian linux" +]; +const footicon = "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.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.on("debug", (e) => console.info(e)) +client.once('ready', () => { + console.log('All systems go.'); +}); +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) { + const embed = { + "title": "<:NyabotError:697145462347661412> **An error occurred!**", + "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" + }, + { + "name": "Error Info", + "value": error.message + } + ] + }; + message.channel.send({ embed }); + } +}); + +client.login(token); \ No newline at end of file From fb2311f0db9f3b44637f1267cb373345b3d5384a Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 21:31:12 -0600 Subject: [PATCH 006/164] Revert "Update PTB to latest stable dev build" From 818b024a14a221fc4760841df44183f82bda94e7 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 21:37:55 -0600 Subject: [PATCH 007/164] Update info.js --- commands/info.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/info.js b/commands/info.js index bc324ca..4989d73 100644 --- a/commands/info.js +++ b/commands/info.js @@ -24,8 +24,8 @@ module.exports = { -const version = ("dev build 421") - const release = ("anitrox_dev") +const version = ("Public Test Release 2") + const release = ("anitrox_ptb") const os = require("os") const embed = { @@ -105,4 +105,4 @@ const version = ("dev build 421") message.channel.send({ embed }); } - }; \ No newline at end of file + }; From db278e20ab2655c14330465de174959330c0c07e Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 20 Jan 2021 11:29:05 -0600 Subject: [PATCH 008/164] Update userinfo.js PTB Build 423 brings fixes to userinfo: + Command now runs correctly This command is not yet complete and may be buggy. --- commands/info.js | 12 +++--- commands/userinfo.js | 90 ++++++++++++++++++++------------------------ 2 files changed, 46 insertions(+), 56 deletions(-) diff --git a/commands/info.js b/commands/info.js index 4989d73..cee00d1 100644 --- a/commands/info.js +++ b/commands/info.js @@ -1,6 +1,6 @@ module.exports = { - + name: 'info', description: 'Shows bot and host information', execute(client, message, args) { @@ -21,13 +21,13 @@ module.exports = { let uptime = `${days}**, **${hours}**, **${minutes}**, **${seconds}`; return uptime; }; - - -const version = ("Public Test Release 2") + + +const version = ("Public Test Buld 3, Based on dev Build 424") const release = ("anitrox_ptb") const os = require("os") - + const embed = { "title": "<:NyabotInfo:697145463350231040> Information about Anitrox", "description": "Everything you've ever wanted to know about Anitrox!", @@ -72,7 +72,7 @@ const version = ("Public Test Release 2") "name": "<:cpu:793672442056802354> CPU Type", "value": process.arch }, - + { "name": "<:hostos:793866961675223090> OS Type", "value": process.platform + " / " + os.version() diff --git a/commands/userinfo.js b/commands/userinfo.js index 42ddd99..fbcd6dd 100644 --- a/commands/userinfo.js +++ b/commands/userinfo.js @@ -1,52 +1,42 @@ -const { User } = require("discord.js"); - module.exports = { - - name: 'userinfo', - description: 'Shows information about you or another user.', - execute(client, message, args) { - const taggedUser = message.mentions.users.first(); - - //Actual code - const embed = { - "title": "<:userinfo:793885335498522685> **User Information**", - "description": "Everything you've ever wanted to know about **" + taggedUser.username + ("!**"), - "color": 11038194, - - "footer": { - "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Anitrox © IDeletedSystem64 2018-2021. All Rights Reserved" - }, - "thumbnail": { - "url": taggedUser.displayAvatarURL({ dynamic: true }) - }, - "fields": [ - { - "name": "<:userquestion:793984046912110633> **Full Username**", - "value": taggedUser.username + ("#") + taggedUser.discriminator - }, - { - "name": "<:userquestion:793984046912110633> User Status", - "value": taggedUser.status, - "value": taggedUser.presence - }, - { - "name": "<:userquestion:793984046912110633> User ID", - "value": taggedUser.id - }, - { - "name": "<:userquestion:793984046912110633> User Joined Discord", - "value": taggedUser.CreatedAt, - "inline": true - }, - { - "name": "<:userquestion:793984046912110633> User Joined Server", - "value": "tba", - "inline": true - } - ] - }; - message.channel.send({ embed }); - } - }; \ No newline at end of file + name: "userinfo", + 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 embed = { + "title": "Everything you've ever wanted to know about taggedUser.username!", + "color": 172544, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + // This should get the user icon to display as the command thumbnail. + "thumbnail": { + "url": "https://cdn.discordapp.com/embed/avatars/0.png" + }, + "fields": [ + { + "name": "Full Username", + "value": taggedUser.tag + }, + { + "name": "User ID", + "value": "``" + taggedUser.id + "``" + }, + { + "name": "User Joined Discord", + "value": taggedUser.CreatedAt, + "inline": true + }, + { + "name": "User Joined Server", + "value": "are inline fields", + "inline": true + } + ] + }; + message.channel.send({ embed }); + } + } From 951417dea306e2861a876a9119b116b5b4e2654e Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 20 Jan 2021 20:54:22 -0600 Subject: [PATCH 009/164] Update userinfo.js --- commands/userinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/userinfo.js b/commands/userinfo.js index fbcd6dd..39a8346 100644 --- a/commands/userinfo.js +++ b/commands/userinfo.js @@ -32,7 +32,7 @@ module.exports = { }, { "name": "User Joined Server", - "value": "are inline fields", + "value": "tba", "inline": true } ] From d1e69917ea2fd4c4fe7dc414a8ea1b26286a9349 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 20 Jan 2021 21:05:38 -0600 Subject: [PATCH 010/164] Remove userinfo.js This command is causing too many issues and will be readded soon. --- commands/userinfo.js | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 commands/userinfo.js diff --git a/commands/userinfo.js b/commands/userinfo.js deleted file mode 100644 index 39a8346..0000000 --- a/commands/userinfo.js +++ /dev/null @@ -1,42 +0,0 @@ -module.exports = { - - name: "userinfo", - 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 embed = { - "title": "Everything you've ever wanted to know about taggedUser.username!", - "color": 172544, - "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" - }, - // This should get the user icon to display as the command thumbnail. - "thumbnail": { - "url": "https://cdn.discordapp.com/embed/avatars/0.png" - }, - "fields": [ - { - "name": "Full Username", - "value": taggedUser.tag - }, - { - "name": "User ID", - "value": "``" + taggedUser.id + "``" - }, - { - "name": "User Joined Discord", - "value": taggedUser.CreatedAt, - "inline": true - }, - { - "name": "User Joined Server", - "value": "tba", - "inline": true - } - ] - }; - message.channel.send({ embed }); - } - } From d0c16e431b65627cb7150af76cd7cbf2a080f737 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 20 Jan 2021 21:05:57 -0600 Subject: [PATCH 011/164] Delete userinfo.js --- commands/userinfo.js | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 commands/userinfo.js diff --git a/commands/userinfo.js b/commands/userinfo.js deleted file mode 100644 index 39a8346..0000000 --- a/commands/userinfo.js +++ /dev/null @@ -1,42 +0,0 @@ -module.exports = { - - name: "userinfo", - 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 embed = { - "title": "Everything you've ever wanted to know about taggedUser.username!", - "color": 172544, - "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" - }, - // This should get the user icon to display as the command thumbnail. - "thumbnail": { - "url": "https://cdn.discordapp.com/embed/avatars/0.png" - }, - "fields": [ - { - "name": "Full Username", - "value": taggedUser.tag - }, - { - "name": "User ID", - "value": "``" + taggedUser.id + "``" - }, - { - "name": "User Joined Discord", - "value": taggedUser.CreatedAt, - "inline": true - }, - { - "name": "User Joined Server", - "value": "tba", - "inline": true - } - ] - }; - message.channel.send({ embed }); - } - } From 9b22994a684e044012bf667fddcf68bd75b665dd Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 20 Jan 2021 21:11:17 -0600 Subject: [PATCH 012/164] Add restart.js --- commands/restart.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 commands/restart.js diff --git a/commands/restart.js b/commands/restart.js new file mode 100644 index 0000000..aca1d34 --- /dev/null +++ b/commands/restart.js @@ -0,0 +1,17 @@ + +module.exports = { + name: 'restart', + description: '(Owner Only) Shuts down the bot.', + execute(client, message, args) { + const token=("") + if (message.author.id == 309427567004483586) { + message.channel.send(" Restarting...").then + client.destroy() + .catch(console.error) + .then + client.login(token); + message.channel.send("<:NyabotSuccess:697211376740859914> Restart Successful") + } else { + message.channel.send("<:NyabotDenied:697145462565896194> Access Denied, You must be bot owner to execute this command."); + } + }} \ No newline at end of file From 1af63e8d2101a89f4e8dad9431935aa12b196028 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 20 Jan 2021 21:18:20 -0600 Subject: [PATCH 013/164] Add userinfo.js --- commands/userinfo.js | 52 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 commands/userinfo.js diff --git a/commands/userinfo.js b/commands/userinfo.js new file mode 100644 index 0000000..42ddd99 --- /dev/null +++ b/commands/userinfo.js @@ -0,0 +1,52 @@ +const { User } = require("discord.js"); + +module.exports = { + + name: 'userinfo', + description: 'Shows information about you or another user.', + execute(client, message, args) { + const taggedUser = message.mentions.users.first(); + + + //Actual code + const embed = { + "title": "<:userinfo:793885335498522685> **User Information**", + "description": "Everything you've ever wanted to know about **" + taggedUser.username + ("!**"), + "color": 11038194, + + "footer": { + "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Anitrox © IDeletedSystem64 2018-2021. All Rights Reserved" + }, + "thumbnail": { + "url": taggedUser.displayAvatarURL({ dynamic: true }) + }, + "fields": [ + { + "name": "<:userquestion:793984046912110633> **Full Username**", + "value": taggedUser.username + ("#") + taggedUser.discriminator + }, + { + "name": "<:userquestion:793984046912110633> User Status", + "value": taggedUser.status, + "value": taggedUser.presence + }, + { + "name": "<:userquestion:793984046912110633> User ID", + "value": taggedUser.id + }, + { + "name": "<:userquestion:793984046912110633> User Joined Discord", + "value": taggedUser.CreatedAt, + "inline": true + }, + { + "name": "<:userquestion:793984046912110633> User Joined Server", + "value": "tba", + "inline": true + } + ] + }; + message.channel.send({ embed }); + } + }; \ No newline at end of file From eed388c77a231674c5d9def54a34d278eef9400a Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 20 Jan 2021 21:19:06 -0600 Subject: [PATCH 014/164] Update to build 429 --- commands/info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/info.js b/commands/info.js index cee00d1..573bd7c 100644 --- a/commands/info.js +++ b/commands/info.js @@ -24,7 +24,7 @@ module.exports = { -const version = ("Public Test Buld 3, Based on dev Build 424") +const version = ("Public Test Buld 4, Based on dev Build 429") const release = ("anitrox_ptb") const os = require("os") From af4f8ebed23ec7403c4aa09ce87aa7ec99aedb09 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 20 Jan 2021 21:24:49 -0600 Subject: [PATCH 015/164] Add files via upload --- commands/userinfo.js | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 commands/userinfo.js diff --git a/commands/userinfo.js b/commands/userinfo.js new file mode 100644 index 0000000..1a94b09 --- /dev/null +++ b/commands/userinfo.js @@ -0,0 +1,38 @@ +module.exports = { + + name: "userinfo", + 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 embed = { + "title": "Everything you've ever wanted to know about " + taggedUser.username + "!", + "color": 172544, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + + "thumbnail": { + "url": "https://cdn.discordapp.com/embed/avatars/0.png" + }, + "fields": [ + { + "name": "Full Username", + "value": taggedUser.tag + }, + { + "name": "User ID", + "value": "``" + taggedUser.id + "``" + }, + { + "name": "User Joined Discord", + "value": "This will be added in a future release", + inline: true + }, + + ] + }; + message.channel.send({ embed: embed }); + } + } \ No newline at end of file From 2e0382e18d7fbd2383abb808c6557ca2b551c62d Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 22 Jan 2021 23:39:58 -0600 Subject: [PATCH 016/164] Add new statuses, update internal name. --- package-lock.json | 18 ++++++++++++++++-- package.json | 7 ++++--- start.js | 18 +++++++++++------- 3 files changed, 31 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6c89d67..60bb6db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "nyabotcanary", + "name": "projectanitrox", "version": "1.0.0", "lockfileVersion": 2, "requires": true, @@ -10,7 +10,8 @@ "license": "ISC", "dependencies": { "discord.js": "^11.5.1", - "node-os-utils": "^1.3.2" + "node-os-utils": "^1.3.2", + "require-all": "^3.0.0" } }, "node_modules/@discordjs/uws": { @@ -94,6 +95,14 @@ "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-0.0.4.tgz", "integrity": "sha512-dG2w7WtovUa4SiYTdWn9H8Bd4JNdei2djtkP/Bk9fXq81j5Q15ZPHYSwhUVvBRbp5zMkGtu0Yk62HuMcly0pRw==" }, + "node_modules/require-all": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/require-all/-/require-all-3.0.0.tgz", + "integrity": "sha1-Rz1JcEvjEBFc4ST3c4Ox69hnExI=", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/snekfetch": { "version": "3.6.4", "resolved": "https://registry.npmjs.org/snekfetch/-/snekfetch-3.6.4.tgz", @@ -153,6 +162,11 @@ "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-0.0.4.tgz", "integrity": "sha512-dG2w7WtovUa4SiYTdWn9H8Bd4JNdei2djtkP/Bk9fXq81j5Q15ZPHYSwhUVvBRbp5zMkGtu0Yk62HuMcly0pRw==" }, + "require-all": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/require-all/-/require-all-3.0.0.tgz", + "integrity": "sha1-Rz1JcEvjEBFc4ST3c4Ox69hnExI=" + }, "snekfetch": { "version": "3.6.4", "resolved": "https://registry.npmjs.org/snekfetch/-/snekfetch-3.6.4.tgz", diff --git a/package.json b/package.json index b9be2a5..8918333 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { - "name": "nyabotcanary", + "name": "projectanitrox", "version": "1.0.0", "description": "Discord Bot Based on Discord.JS", - "main": "main.js", + "main": "start.js", "dependencies": { "discord.js": "^11.5.1", - "node-os-utils": "^1.3.2" + "node-os-utils": "^1.3.2", + "require-all": "^3.0.0" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/start.js b/start.js index c0843db..3acde6e 100644 --- a/start.js +++ b/start.js @@ -5,6 +5,7 @@ const { prefix, token } = require('./config.json'); const os = require("os") const version = "Test Release 21"; const release = "anitrox_unstable" + console.log('Starting!') const client = new Discord.Client(); client.commands = new Discord.Collection(); @@ -19,7 +20,10 @@ const activities_list = [ "with the tea machine", "with Borked Computers", "on Happy's main PC- wait shoot she's coming", - "btw I use Debian linux" + "btw I use Debian linux", + "Watching you", + "Running " + release + " Version " + version, + "in Incognito Mode- wait what" ]; const footicon = "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png" const footer = "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" @@ -38,9 +42,9 @@ client.once('ready', () => { console.log('All systems go.'); }); setInterval(() => { - const index = Math.floor(Math.random() * (activities_list.length - 1) + 1); - client.user.setActivity(activities_list[index]); -}, 20000); + 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; @@ -54,7 +58,7 @@ client.on('message', message => { client.commands.get(command).execute(client, message, args); } catch (error) { const embed = { - "title": "<:NyabotError:697145462347661412> **An error occurred!**", + "title": "<:NyabotError:697145462347661412> **Well that happened...**", "color": 13632027, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -63,7 +67,7 @@ client.on('message', message => { "fields": [ { "name": "**What Happened?**", - "value": "The command you tried to run failed to execute" + "value": "The command you tried to run failed to execute due to an error." }, { "name": "Error Info", @@ -75,4 +79,4 @@ client.on('message', message => { } }); -client.login(token); \ No newline at end of file +client.login(token); From c0de899207e48a57d41ba7716f5a8b5cce1b3e4a Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 23 Jan 2021 01:08:05 -0600 Subject: [PATCH 017/164] Update commands to v12 --- commands/bonk.js | 9 ++- commands/config.json | 5 ++ commands/cuddle.js | 8 +-- commands/eval.js | 29 ++++++++-- commands/hug.js | 8 +-- commands/info.js | 4 +- commands/kiss.js | 8 +-- commands/nom.js | 8 +-- commands/pat.js | 8 +-- commands/ping.js | 17 ++++++ commands/poke.js | 8 +-- commands/reload.js | 2 +- commands/restart.js | 8 ++- commands/slap.js | 8 +-- commands/userinfo.js | 133 ++++++++++++++----------------------------- 15 files changed, 128 insertions(+), 135 deletions(-) create mode 100644 commands/config.json create mode 100644 commands/ping.js diff --git a/commands/bonk.js b/commands/bonk.js index 955263f..6d6d313 100644 --- a/commands/bonk.js +++ b/commands/bonk.js @@ -8,7 +8,7 @@ module.exports = { const embed = { "title": " Bonk", - "description": taggedUser + " You have been bonked by " + messageAuthor + "!", + "description": "<@" + taggedUser + ">" + " You have been bonked by <@" + messageAuthor + ">!", "color": 3272562, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -18,9 +18,8 @@ module.exports = { "url": "https://cdn.discordapp.com/attachments/793537380330111028/801194481549312060/HappyBONK.gif" } } - - - message.channel.send({ embed: embed }); + + + message.channel.send({ embed: embed }); } } - diff --git a/commands/config.json b/commands/config.json new file mode 100644 index 0000000..054d70b --- /dev/null +++ b/commands/config.json @@ -0,0 +1,5 @@ +{ + "prefix": "n!", + "token": "NTQwOTQxNjc5MDQ2Mjk1NTUz.XotbnA.0hllsNlr9hWaepl3KwB1Bhh5TnA", + "ownerID": "309427567004483586" +} \ No newline at end of file diff --git a/commands/cuddle.js b/commands/cuddle.js index 90a156b..1b1ed9e 100644 --- a/commands/cuddle.js +++ b/commands/cuddle.js @@ -7,7 +7,7 @@ module.exports = { const taggedUser = message.mentions.users.first(); const embed = { "title": ":heart: Cuddle", - "description": taggedUser + " You have been cuddled by " + messageAuthor + "!", + "description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!", "color": 8311585, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -17,8 +17,8 @@ module.exports = { "url": "https://media.tenor.com/images/7199fdd26fc2c07cd49a34fda3fc37a8/tenor.gif" } } - - - message.channel.send({ embed: embed }); + + + message.channel.send({ embed: embed }); } } diff --git a/commands/eval.js b/commands/eval.js index c4a43c8..8d3eb19 100644 --- a/commands/eval.js +++ b/commands/eval.js @@ -1,6 +1,6 @@ module.exports = { - + name: 'eval', description: 'Runs js code', execute(client, message, args) { @@ -9,14 +9,31 @@ module.exports = { try { const code = args.join(" "); let evaled = eval(code); - + if (typeof evaled !== "string") evaled = require("util").inspect(evaled); - + message.channel.send(clean(evaled), {code:"xl"}); - } catch (err) { - console.log("An error occurred while running that code!") - + } catch (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 }); } }; } diff --git a/commands/hug.js b/commands/hug.js index 1501c84..708e902 100644 --- a/commands/hug.js +++ b/commands/hug.js @@ -7,7 +7,7 @@ module.exports = { const taggedUser = message.mentions.users.first(); const embed = { "title": " Hug", - "description": taggedUser + " You have been hugged by " + messageAuthor + "!", + "description": "<@" + taggedUser + ">" + " You have been hugged by " + "<@" + messageAuthor + ">!", "color": 8311585, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -17,8 +17,8 @@ module.exports = { "url": "https://i.imgur.com/r9aU2xv.gif?noredirect" } } - - - message.channel.send({ embed: embed }); + + + message.channel.send({ embed: embed }); } } diff --git a/commands/info.js b/commands/info.js index 573bd7c..8fcd5ec 100644 --- a/commands/info.js +++ b/commands/info.js @@ -24,8 +24,8 @@ module.exports = { -const version = ("Public Test Buld 4, Based on dev Build 429") - const release = ("anitrox_ptb") +const version = ("dev build 429") + const release = ("anitrox_dev") const os = require("os") const embed = { diff --git a/commands/kiss.js b/commands/kiss.js index c184a98..d28762a 100644 --- a/commands/kiss.js +++ b/commands/kiss.js @@ -7,7 +7,7 @@ module.exports = { const taggedUser = message.mentions.users.first(); const embed = { "title": ":heart: Kiss", - "description": taggedUser + " You have been kissed by " + messageAuthor + "!", + "description": "<@" + taggedUser + ">" + " You have been kissed by <@" + messageAuthor + ">!", "color": 8311585, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -17,8 +17,8 @@ module.exports = { "url": "https://i.pinimg.com/originals/e3/4e/31/e34e31123f8f35d5c771a2d6a70bef52.gif" } } - - - message.channel.send({ embed: embed }); + + + message.channel.send({ embed: embed }); } } diff --git a/commands/nom.js b/commands/nom.js index 08a049f..4862d5d 100644 --- a/commands/nom.js +++ b/commands/nom.js @@ -7,7 +7,7 @@ module.exports = { const taggedUser = message.mentions.users.first(); const embed = { "title": "<:BlobNomBlob:801241117919805510> Nom", - "description": taggedUser + " You have been nommed by " + messageAuthor + "!", + "description": "<@" + taggedUser + "> You have been nommed by <@" + messageAuthor + ">!", "color": 8311585, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -17,8 +17,8 @@ module.exports = { "url": "https://data.whicdn.com/images/279560594/original.gif" } } - - - message.channel.send({ embed: embed }); + + + message.channel.send({ embed: embed }); } } diff --git a/commands/pat.js b/commands/pat.js index 92be259..b45dbe6 100644 --- a/commands/pat.js +++ b/commands/pat.js @@ -7,7 +7,7 @@ module.exports = { const taggedUser = message.mentions.users.first(); const embed = { "title": "<:pats:801238281286713355> Pat", - "description": taggedUser + " You have been patted by " + messageAuthor + "!", + "description": "<@" + taggedUser + "> You have been patted by <@" + messageAuthor + ">!", "color": 8311585, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -17,8 +17,8 @@ module.exports = { "url": "https://media1.giphy.com/media/ARSp9T7wwxNcs/giphy.gif" } } - - - message.channel.send({ embed: embed }); + + + message.channel.send({ embed: embed }); } } diff --git a/commands/ping.js b/commands/ping.js new file mode 100644 index 0000000..e137f35 --- /dev/null +++ b/commands/ping.js @@ -0,0 +1,17 @@ +module.exports = { + name: "ping", + description: "Gets bot ping", + execute(client, message, args) { + const embed = { + "title": ":ping_pong: Ping", + "color": 15433939, + "fields": [ + { + "name": "Ping is " + client.ws.ping + " ms", + "value": "If this is more than 1500ms there may be a problem!" + } + ] +}; +message.channel.send({ embed }); + } +}; diff --git a/commands/poke.js b/commands/poke.js index cf457c7..8bcb73a 100644 --- a/commands/poke.js +++ b/commands/poke.js @@ -7,7 +7,7 @@ module.exports = { const taggedUser = message.mentions.users.first(); const embed = { "title": "👉 Poke!", - "description": taggedUser + " You have been poked by " + messageAuthor + "!", + "description": "<@" + taggedUser + "> You have been poked by <@" + messageAuthor + ">!", "color": 8311585, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -17,8 +17,8 @@ module.exports = { "url": "https://i.gifer.com/4IdP.gif" } } - - - message.channel.send({ embed: embed }); + + + message.channel.send({ embed: embed }); } } diff --git a/commands/reload.js b/commands/reload.js index ad9a103..475bb7c 100644 --- a/commands/reload.js +++ b/commands/reload.js @@ -20,7 +20,7 @@ module.exports = { console.log('User reloaded ${command.name}.') } catch (error) { console.error(error); - message.channel.send(`There was an error while reloading a command \`${command.name}\`:\n\`${error.message}\``); + message.channel.send(`There was an error while reloading \`${command.name}\`:\n\`${error.message}\``); } }, }; \ No newline at end of file diff --git a/commands/restart.js b/commands/restart.js index aca1d34..808a95e 100644 --- a/commands/restart.js +++ b/commands/restart.js @@ -3,15 +3,19 @@ module.exports = { name: 'restart', description: '(Owner Only) Shuts down the bot.', execute(client, message, args) { - const token=("") + const { token } = require('./config.json'); if (message.author.id == 309427567004483586) { message.channel.send(" Restarting...").then client.destroy() .catch(console.error) .then + console.log("Restarting!") + console.log("Getting ready") + console.log("Ready to start!") client.login(token); message.channel.send("<:NyabotSuccess:697211376740859914> Restart Successful") + console.log("All systems go") } else { message.channel.send("<:NyabotDenied:697145462565896194> Access Denied, You must be bot owner to execute this command."); } - }} \ No newline at end of file + }} diff --git a/commands/slap.js b/commands/slap.js index b1f0c37..74bf202 100644 --- a/commands/slap.js +++ b/commands/slap.js @@ -7,7 +7,7 @@ module.exports = { const taggedUser = message.mentions.users.first(); const embed = { "title": ":anger: Slap", - "description": taggedUser + " You have been slapped by " + messageAuthor + "!", + "description": "<@" + taggedUser + "> You have been slapped by <@" + messageAuthor + ">!", "color": 8311585, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -17,8 +17,8 @@ module.exports = { "url": "https://media1.tenor.com/images/b6d8a83eb652a30b95e87cf96a21e007/tenor.gif?itemid=10426943" } } - - - message.channel.send({ embed: embed }); + + + message.channel.send({ embed: embed }); } } diff --git a/commands/userinfo.js b/commands/userinfo.js index 80930f7..33f006a 100644 --- a/commands/userinfo.js +++ b/commands/userinfo.js @@ -1,91 +1,42 @@ -const { User } = require("discord.js"); - - -module.exports = { - - name: 'userinfo', - description: 'Shows information about you or another user.', - execute(client, message, args) { - const taggedUser = message.mentions.users.first(); - - - //Actual code - const embed = { - "title": "<:userinfo:793885335498522685> **User Information**", - "description": "Everything you've ever wanted to know about **" + taggedUser.username + ("!**"), - "color": 11038194, - - "footer": { - "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Anitrox © IDeletedSystem64 2018-2021. All Rights Reserved" - }, - "thumbnail": { - "url": taggedUser.displayAvatarURL({ dynamic: true }) - }, - "fields": [ - { - "name": "<:userquestion:793984046912110633> **Full Username**", - "value": taggedUser.username + ("#") + taggedUser.discriminator - }, - { - "name": "<:userquestion:793984046912110633> User Status", - "value": taggedUser.status, - "value": taggedUser.presence - }, - { - "name": "<:userquestion:793984046912110633> User ID", - "value": taggedUser.id - }, - { - "name": "<:userquestion:793984046912110633> User Joined Discord", - "value": taggedUser.CreatedAt, - "inline": true - }, - { - "name": "<:userquestion:793984046912110633> User Joined Server", - "value": "tba", - "inline": true - } - ] - }; - message.channel.send({ embed }); - } - }; -======= - name: "userinfo", - 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 embed = { - "title": "Everything you've ever wanted to know about " + taggedUser.username + "!", - "color": 172544, - "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" - }, - - "thumbnail": { - "url": "https://cdn.discordapp.com/embed/avatars/0.png" - }, - "fields": [ - { - "name": "Full Username", - "value": taggedUser.tag - }, - { - "name": "User ID", - "value": "``" + taggedUser.id + "``" - }, - { - "name": "User Joined Discord", - "value": "This will be added in a future release", - inline: true - }, - - ] - }; - message.channel.send({ embed: embed }); - } - } - +module.exports = { + + name: "userinfo", + 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 embed = { + "title": "Everything you've ever wanted to know about " + taggedUser.username + "!", + "color": 172544, + "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() + }, + "fields": [ + { + "name": "Attention", + "value": "This command isn't yet finished, More info will be added soon!" + }, + { + "name": "Full Username", + "value": taggedUser.tag + }, + { + "name": "User ID", + "value": "``" + taggedUser.id + "``" + }, + { + "name": "User Joined Discord", + "value": taggedUser.createdAt, + inline: true + }, + + ] + }; + message.channel.send({ embed: embed }); + } + } From c473664918881d1c4eabfb826c922065fc6d4398 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 23 Jan 2021 17:58:05 -0600 Subject: [PATCH 018/164] Delete restart.js --- commands/restart.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 commands/restart.js diff --git a/commands/restart.js b/commands/restart.js deleted file mode 100644 index 808a95e..0000000 --- a/commands/restart.js +++ /dev/null @@ -1,21 +0,0 @@ - -module.exports = { - name: 'restart', - description: '(Owner Only) Shuts down the bot.', - execute(client, message, args) { - const { token } = require('./config.json'); - if (message.author.id == 309427567004483586) { - message.channel.send(" Restarting...").then - client.destroy() - .catch(console.error) - .then - console.log("Restarting!") - console.log("Getting ready") - console.log("Ready to start!") - client.login(token); - message.channel.send("<:NyabotSuccess:697211376740859914> Restart Successful") - console.log("All systems go") - } else { - message.channel.send("<:NyabotDenied:697145462565896194> Access Denied, You must be bot owner to execute this command."); - } - }} From b3d9cd32deadb1233356ede82124108d3177d651 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 23 Jan 2021 18:08:27 -0600 Subject: [PATCH 019/164] Delete shutdown.js --- commands/shutdown.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 commands/shutdown.js diff --git a/commands/shutdown.js b/commands/shutdown.js deleted file mode 100644 index ad9aa77..0000000 --- a/commands/shutdown.js +++ /dev/null @@ -1,13 +0,0 @@ - -module.exports = { - name: 'shutdown', - description: '(Owner Only) Shuts down the bot.', - execute(client, message, args) { - if (message.author.id == 309427567004483586) { - message.channel.send(" Shutting Down...").then - client.destroy() - .catch(console.error) - } else { - message.channel.send("<:NyabotDenied:697145462565896194> Access Denied, You must be bot owner to execute this command."); - } - }} \ No newline at end of file From b5cb18171e2cff74a8e0513a372b88cceba99bb8 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 23 Jan 2021 18:08:47 -0600 Subject: [PATCH 020/164] Add files via upload --- commands/stop.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 commands/stop.js diff --git a/commands/stop.js b/commands/stop.js new file mode 100644 index 0000000..46a1e6b --- /dev/null +++ b/commands/stop.js @@ -0,0 +1,13 @@ + +module.exports = { + name: 'stop', + description: '(Owner Only) Shuts down the bot.', + execute(client, message, args) { + if (message.author.id == 309427567004483586) { + message.channel.send(" Shutting Down...").then + client.destroy() + .catch(console.error) + } else { + message.channel.send("<:NyabotDenied:697145462565896194> Access Denied, You must be bot owner to execute this command."); + } + }} \ No newline at end of file From fa6898904778c1cc83e83e215779ae078d171a9a Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sun, 24 Jan 2021 10:59:45 -0600 Subject: [PATCH 021/164] Update start.js --- start.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.js b/start.js index 3acde6e..bd8bc60 100644 --- a/start.js +++ b/start.js @@ -3,8 +3,8 @@ const fs = require('fs'); const Discord = require('discord.js'); const { prefix, token } = require('./config.json'); const os = require("os") -const version = "Test Release 21"; -const release = "anitrox_unstable" +const version = "Test Release 2,"; +const release = "anitrox_ptb" console.log('Starting!') const client = new Discord.Client(); From ae7c551d62fee0cddbdeb954bb0101676f87fd54 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sun, 24 Jan 2021 11:56:14 -0600 Subject: [PATCH 022/164] Add files via upload --- start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.js b/start.js index 3acde6e..59a9116 100644 --- a/start.js +++ b/start.js @@ -3,7 +3,7 @@ const fs = require('fs'); const Discord = require('discord.js'); const { prefix, token } = require('./config.json'); const os = require("os") -const version = "Test Release 21"; +const version = "build 432"; const release = "anitrox_unstable" console.log('Starting!') From ed3af3e2fa33627ddd8e14ded6987507be123876 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 26 Jan 2021 10:03:53 -0600 Subject: [PATCH 023/164] Update hug to newest version --- commands/hug.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/commands/hug.js b/commands/hug.js index 708e902..dc4add0 100644 --- a/commands/hug.js +++ b/commands/hug.js @@ -5,7 +5,17 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - const embed = { + const gifchoices = [ + "https://media1.tenor.com/images/684efd91473dcfab34cb78bf16d211cf/tenor.gif?itemid=14495459", + "https://cdn.lowgif.com/medium/d26c65f2d66be540-merriberri-graphic-arts-services-requests.gif", + "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" + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); + var gif = (gifchoices[index]); + const embed = { "title": " Hug", "description": "<@" + taggedUser + ">" + " You have been hugged by " + "<@" + messageAuthor + ">!", "color": 8311585, @@ -14,7 +24,7 @@ module.exports = { "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" }, "image": { - "url": "https://i.imgur.com/r9aU2xv.gif?noredirect" + "url": gif } } From c67f359d87ae9dcb5d66acd82fbc4e330b2ec688 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 26 Jan 2021 14:03:02 -0600 Subject: [PATCH 024/164] Update to build 439 --- commands/ban.js | 31 +++++++++++++++++++++++++++++++ commands/cuddle.js | 16 ++++++++++++++-- commands/kiss.js | 16 ++++++++++++++-- commands/nom.js | 18 ++++++++++++++++-- commands/pat.js | 17 +++++++++++++++-- commands/poke.js | 17 +++++++++++++++-- commands/restart.js | 18 ++++++++++++++++++ 7 files changed, 123 insertions(+), 10 deletions(-) create mode 100644 commands/ban.js create mode 100644 commands/restart.js diff --git a/commands/ban.js b/commands/ban.js new file mode 100644 index 0000000..c8549fb --- /dev/null +++ b/commands/ban.js @@ -0,0 +1,31 @@ +const { GuildMember } = require("discord.js"); + +module.exports = { + name: "ban", + description: "Bans an user, This requires that you have ``BAN_MEMBERS`` or ``ADMINISTRATOR``", + execute(client, message, args) { + const banembed = { + "title": "<:usersuccess:793885338250641469> User Banned", + "description": "User ${user.tag} was banned!", + "color": 5736060, + "fields": [ + { + "name": "Reason", + "value": "reason" + } + ] + }; + const user = message.mentions.users.first(); + if (user) { + const member = message.guild.member(user); + if (member) { + member + .ban({ + reason: 'reason', + }) + .then(() => + + message.channel.send("bye lmao")); + + } + }}} \ No newline at end of file diff --git a/commands/cuddle.js b/commands/cuddle.js index 1b1ed9e..bb945ef 100644 --- a/commands/cuddle.js +++ b/commands/cuddle.js @@ -5,7 +5,19 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - const embed = { + + // -------------------------------------- + const gifchoices = [ + "https://i.pinimg.com/originals/4d/89/d7/4d89d7f963b41a416ec8a55230dab31b.gif", + "https://media1.tenor.com/images/6d73b0a9cadef5310be4b6160d2f959a/tenor.gif?itemid=12099823", + "https://media.tenor.com/images/2636cf3c8152631b4630bf71757a4afa/tenor.gif", + "https://i.imgur.com/JiFpT5E.gif" + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); + var gif = (gifchoices[index]); + // --------------------------------------- + + const embed = { "title": ":heart: Cuddle", "description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!", "color": 8311585, @@ -14,7 +26,7 @@ module.exports = { "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" }, "image": { - "url": "https://media.tenor.com/images/7199fdd26fc2c07cd49a34fda3fc37a8/tenor.gif" + "url": gif } } diff --git a/commands/kiss.js b/commands/kiss.js index d28762a..6796d38 100644 --- a/commands/kiss.js +++ b/commands/kiss.js @@ -5,7 +5,19 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - const embed = { + // -------------------------------------- + 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" + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); + var gif = (gifchoices[index]); + // --------------------------------------- + const embed = { "title": ":heart: Kiss", "description": "<@" + taggedUser + ">" + " You have been kissed by <@" + messageAuthor + ">!", "color": 8311585, @@ -14,7 +26,7 @@ module.exports = { "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" }, "image": { - "url": "https://i.pinimg.com/originals/e3/4e/31/e34e31123f8f35d5c771a2d6a70bef52.gif" + "url": gif } } diff --git a/commands/nom.js b/commands/nom.js index 4862d5d..cb8302f 100644 --- a/commands/nom.js +++ b/commands/nom.js @@ -5,7 +5,21 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - const embed = { + + // -------------------------------------- + const gifchoices = [ + "https://i.imgur.com/Ns1RBzX.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 embed = { "title": "<:BlobNomBlob:801241117919805510> Nom", "description": "<@" + taggedUser + "> You have been nommed by <@" + messageAuthor + ">!", "color": 8311585, @@ -14,7 +28,7 @@ module.exports = { "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" }, "image": { - "url": "https://data.whicdn.com/images/279560594/original.gif" + "url": gif } } diff --git a/commands/pat.js b/commands/pat.js index b45dbe6..d67a4c7 100644 --- a/commands/pat.js +++ b/commands/pat.js @@ -5,7 +5,20 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - const embed = { + + // -------------------------------------- + const gifchoices = [ + "https://cdn.discordapp.com/attachments/803658122299572255/803708174293008474/tenor.gif", + "https://community.gamepress.gg/uploads/default/original/3X/0/a/0a762099c5ad6de9ca5f13dd22a7e45884a99eb3.gif", + "https://media1.giphy.com/media/ARSp9T7wwxNcs/giphy.gif" + + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); + var gif = (gifchoices[index]); + // --------------------------------------- + + const embed = { "title": "<:pats:801238281286713355> Pat", "description": "<@" + taggedUser + "> You have been patted by <@" + messageAuthor + ">!", "color": 8311585, @@ -14,7 +27,7 @@ module.exports = { "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" }, "image": { - "url": "https://media1.giphy.com/media/ARSp9T7wwxNcs/giphy.gif" + "url": gif } } diff --git a/commands/poke.js b/commands/poke.js index 8bcb73a..266dfb6 100644 --- a/commands/poke.js +++ b/commands/poke.js @@ -5,7 +5,20 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - const embed = { + + // -------------------------------------- + const gifchoices = [ + "https://i.pinimg.com/originals/b4/95/fb/b495fb19f4b9a1b04f48297b676c497b.gif", + "https://i.imgur.com/H7Ok5tn.gif", + "https://media1.tenor.com/images/8fe23ec8e2c5e44964e5c11983ff6f41/tenor.gif?itemid=5600215" + + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); + var gif = (gifchoices[index]); + // --------------------------------------- + + const embed = { "title": "👉 Poke!", "description": "<@" + taggedUser + "> You have been poked by <@" + messageAuthor + ">!", "color": 8311585, @@ -14,7 +27,7 @@ module.exports = { "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" }, "image": { - "url": "https://i.gifer.com/4IdP.gif" + "url": gif } } diff --git a/commands/restart.js b/commands/restart.js new file mode 100644 index 0000000..9c6e695 --- /dev/null +++ b/commands/restart.js @@ -0,0 +1,18 @@ + +module.exports = { + name: 'restart', + description: '(Owner Only) Shuts down the bot.', + execute(client, message, args) { + const { token } = require('./config.json'); + if (message.author.id == 309427567004483586) { + message.channel.send(" Restarting...").then + client.destroy() + .catch(console.error) + .then + setTimeout(() => { client.login(token); }, 3000); + message.channel.send("<:NyabotSuccess:697211376740859914> Restart Successful") + console.log("All systems go") + } else { + message.channel.send("<:NyabotDenied:697145462565896194> Access Denied, You must be bot owner to execute this command."); + } + }} From 84283cef98e2a793a359f6ed3f4d56316fca3e74 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 26 Jan 2021 21:57:13 -0600 Subject: [PATCH 025/164] Add leskiss, update help --- commands/help.js | 2 +- commands/leskiss.js | 50 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 commands/leskiss.js diff --git a/commands/help.js b/commands/help.js index c80a3b0..5d14125 100644 --- a/commands/help.js +++ b/commands/help.js @@ -26,7 +26,7 @@ const embed = { }, { "name": "Fun Commands", - "value": "`hug` `poke` `bonk` `slap` `pat` `kiss` `lick` `cuddle` `nom`" + "value": "`hug` `poke` `bonk` `slap` `pat` `kiss` `lick` `cuddle` `nom` `leskiss`" }, { "name": "**Need additional help or want to report an issue?**", diff --git a/commands/leskiss.js b/commands/leskiss.js new file mode 100644 index 0000000..d803185 --- /dev/null +++ b/commands/leskiss.js @@ -0,0 +1,50 @@ +const { Message } = require("discord.js"); +const { execute } = require("./info"); + +module.exports = { + + name: "leskiss", + description: "Lesbian kiss <:lesbian:803831629428686849>", + execute(client, message, args) { + const messageAuthor = message.messageAuthor + const taggedUser = message.mentions.users.first(); + // -------------------------------------- + const gifchoices = [ + "https://cdn.discordapp.com/attachments/793537380330111028/803833954750038066/gif5.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803833959338475550/gif12.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834034135236628/gif9.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834082034843658/gif18.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834094063583302/gif8.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834099869024296/gif10.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834132035665950/gif16.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834146413084713/gif13.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834249425715210/gif22.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834323898990592/gif11.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834328848793650/gif14.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834391226351676/gif17.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834391226351676/gif17.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834498714304522/gif15.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834514269798460/gif19.gif" + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); + var gif = (gifchoices[index]); + // --------------------------------------- + + const embed = { + "title": ":heart: <:lesbian:803831629428686849> Kiss", + "description": "<@" + taggedUser + ">" + " You have been kissed by <@" + messageAuthor + ">! <:lesbian:803831629428686849>", + "color": 8311585, + "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 }); + } +} From 55797574975c89c5ee3ff8aaab27b266fb7c6565 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 26 Jan 2021 23:15:07 -0600 Subject: [PATCH 026/164] Hotfix for leskiss ``message.author`` was set as `message.messageAuthor` due to VSCode. --- commands/leskiss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/leskiss.js b/commands/leskiss.js index d803185..6dc0ea5 100644 --- a/commands/leskiss.js +++ b/commands/leskiss.js @@ -6,7 +6,7 @@ module.exports = { name: "leskiss", description: "Lesbian kiss <:lesbian:803831629428686849>", execute(client, message, args) { - const messageAuthor = message.messageAuthor + const messageAuthor = message.author const taggedUser = message.mentions.users.first(); // -------------------------------------- const gifchoices = [ From 3accd9798094f884113afe31eb20dbac7ca6c308 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 30 Jan 2021 23:23:32 -0600 Subject: [PATCH 027/164] Add new statuses --- start.js | 172 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 88 insertions(+), 84 deletions(-) diff --git a/start.js b/start.js index 7301cc4..8b66384 100644 --- a/start.js +++ b/start.js @@ -1,84 +1,88 @@ -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 = "Test Release 3, build 439"; -const release = "anitrox_ptb" - - -console.log('Starting!') -const client = new Discord.Client(); -client.commands = new Discord.Collection(); -const activities_list = [ - "with n!help", - "Where am I?", - "with Sylveons!", - "on my host's hard disk", - "with Happy", - "HAAAAAAAAPPPPPPPYYYYYYYYYYYYYYYYYYYY", - "Running on " + process.platform + " / " + os.version() + "!", - "with the tea machine", - "with Borked Computers", - "on Happy's main PC- wait shoot she's coming", - "btw I use Debian linux", - "Watching you", - "Running " + release + " Version " + version, - "in Incognito Mode- wait what" -]; -const footicon = "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.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.on("debug", (e) => console.info(e)) -client.once('ready', () => { - console.log('All systems go.'); -}); -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) { - 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 435"; +const release = "anitrox_unstable" + +console.log('Starting!') +const client = new Discord.Client(); +client.commands = new Discord.Collection(); +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!", + "Sophies skirt" +]; +const footicon = "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.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.on("debug", (e) => console.info(e)) +client.once('ready', () => { + console.log('All systems go.'); +}); +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) { + 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); From d835cdaebb6515c11e9566f7d1df84a4cae800b4 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 30 Jan 2021 23:25:00 -0600 Subject: [PATCH 028/164] Check for mentioned user --- commands/kiss.js | 22 +++++++++++++++++++++- commands/leskiss.js | 22 +++++++++++++++++++++- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/commands/kiss.js b/commands/kiss.js index 6796d38..37c49c6 100644 --- a/commands/kiss.js +++ b/commands/kiss.js @@ -5,6 +5,8 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); + + // -------------------------------------- const gifchoices = [ "https://thumbs.gfycat.com/SlowGlossyBlackcrappie-small.gif", @@ -17,9 +19,27 @@ module.exports = { const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); var gif = (gifchoices[index]); // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "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": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + } const embed = { "title": ":heart: Kiss", - "description": "<@" + taggedUser + ">" + " You have been kissed by <@" + messageAuthor + ">!", + "description": "<@" + taggedUser + ">" + ", You have been kissed by <@" + messageAuthor + ">!", "color": 8311585, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", diff --git a/commands/leskiss.js b/commands/leskiss.js index d803185..2476a3c 100644 --- a/commands/leskiss.js +++ b/commands/leskiss.js @@ -6,7 +6,7 @@ module.exports = { name: "leskiss", description: "Lesbian kiss <:lesbian:803831629428686849>", execute(client, message, args) { - const messageAuthor = message.messageAuthor + const messageAuthor = message.author const taggedUser = message.mentions.users.first(); // -------------------------------------- const gifchoices = [ @@ -30,6 +30,26 @@ module.exports = { const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); var gif = (gifchoices[index]); // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "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": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + const embed = { "title": ":heart: <:lesbian:803831629428686849> Kiss", From 2aa8fb67a702ffaf004add8cbed959a3639a45fb Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 30 Jan 2021 23:26:04 -0600 Subject: [PATCH 029/164] lick foxi --- commands/lick.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 commands/lick.js diff --git a/commands/lick.js b/commands/lick.js new file mode 100644 index 0000000..53c7aa2 --- /dev/null +++ b/commands/lick.js @@ -0,0 +1,6 @@ +module.exports = { + name: "lick", + description: "Licks an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); \ No newline at end of file From f331627bdb2931b3a18575a16a522acd5963ca96 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 30 Jan 2021 23:32:54 -0600 Subject: [PATCH 030/164] =?UTF-8?q?=F0=9F=99=83=20Ill=20be=20honest,=20I?= =?UTF-8?q?=20messed=20up=20a=20line.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.js b/start.js index 8b66384..825fa22 100644 --- a/start.js +++ b/start.js @@ -29,7 +29,7 @@ const activities_list = [ "videos on Hulu", "American Truck Simulator", "my users!", - "Sophies skirt" + "with Sophies skirt" ]; const footicon = "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png" const footer = "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" From 3c7ecffcd43cdef9a549ad731a5e5241d063adaa Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 30 Jan 2021 23:34:37 -0600 Subject: [PATCH 031/164] Add new statuses This will be uploaded to the bot soon. --- start.js | 172 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 88 insertions(+), 84 deletions(-) diff --git a/start.js b/start.js index 7301cc4..825fa22 100644 --- a/start.js +++ b/start.js @@ -1,84 +1,88 @@ -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 = "Test Release 3, build 439"; -const release = "anitrox_ptb" - - -console.log('Starting!') -const client = new Discord.Client(); -client.commands = new Discord.Collection(); -const activities_list = [ - "with n!help", - "Where am I?", - "with Sylveons!", - "on my host's hard disk", - "with Happy", - "HAAAAAAAAPPPPPPPYYYYYYYYYYYYYYYYYYYY", - "Running on " + process.platform + " / " + os.version() + "!", - "with the tea machine", - "with Borked Computers", - "on Happy's main PC- wait shoot she's coming", - "btw I use Debian linux", - "Watching you", - "Running " + release + " Version " + version, - "in Incognito Mode- wait what" -]; -const footicon = "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.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.on("debug", (e) => console.info(e)) -client.once('ready', () => { - console.log('All systems go.'); -}); -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) { - 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 435"; +const release = "anitrox_unstable" + +console.log('Starting!') +const client = new Discord.Client(); +client.commands = new Discord.Collection(); +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" +]; +const footicon = "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.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.on("debug", (e) => console.info(e)) +client.once('ready', () => { + console.log('All systems go.'); +}); +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) { + 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); From 73f62ff32dab8afe690877f5d585bd6d470330e9 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 30 Jan 2021 23:48:07 -0600 Subject: [PATCH 032/164] Check for mentioned user, if none return error. --- commands/bonk.js | 21 ++++++++++++++++++++- commands/hug.js | 21 +++++++++++++++++++++ commands/info.js | 6 +++--- commands/nom.js | 21 ++++++++++++++++++++- commands/pat.js | 19 +++++++++++++++++++ commands/poke.js | 21 ++++++++++++++++++++- commands/slap.js | 25 ++++++++++++++++++++++++- 7 files changed, 127 insertions(+), 7 deletions(-) diff --git a/commands/bonk.js b/commands/bonk.js index 6d6d313..073c39c 100644 --- a/commands/bonk.js +++ b/commands/bonk.js @@ -5,7 +5,26 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "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": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + const embed = { "title": " Bonk", "description": "<@" + taggedUser + ">" + " You have been bonked by <@" + messageAuthor + ">!", diff --git a/commands/hug.js b/commands/hug.js index dc4add0..a136479 100644 --- a/commands/hug.js +++ b/commands/hug.js @@ -13,6 +13,27 @@ module.exports = { "https://data.whicdn.com/images/294164107/original.gif", "https://media1.tenor.com/images/e5e7779385d003db13396e03b7fd1024/tenor.gif?itemid=16619907" ]; + //--------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "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": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); var gif = (gifchoices[index]); const embed = { diff --git a/commands/info.js b/commands/info.js index 8fcd5ec..c549db5 100644 --- a/commands/info.js +++ b/commands/info.js @@ -24,8 +24,8 @@ module.exports = { -const version = ("dev build 429") - const release = ("anitrox_dev") +const version = ("Public Test Release 4.1 (build 444)") + const release = ("anitrox_ptb") const os = require("os") const embed = { @@ -58,7 +58,7 @@ const version = ("dev build 429") }, { "name": "<:memory:793536677737136178> Bot Memory Usage", - "value": (Math.round(process.memoryUsage().heapUsed / 1024 / 1024 * 100) / 100) + " MiB" + ", Total Free Memory" + "value": (Math.round(process.memoryUsage().heapUsed / 1024 / 1024 * 100) / 100) + " MiB" }, { "name": "<:hostinfo:793529505263517747> Host Information", diff --git a/commands/nom.js b/commands/nom.js index cb8302f..3449231 100644 --- a/commands/nom.js +++ b/commands/nom.js @@ -18,7 +18,26 @@ module.exports = { const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); var gif = (gifchoices[index]); // --------------------------------------- - + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "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": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + const embed = { "title": "<:BlobNomBlob:801241117919805510> Nom", "description": "<@" + taggedUser + "> You have been nommed by <@" + messageAuthor + ">!", diff --git a/commands/pat.js b/commands/pat.js index d67a4c7..a876ba4 100644 --- a/commands/pat.js +++ b/commands/pat.js @@ -17,6 +17,25 @@ module.exports = { const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); var gif = (gifchoices[index]); // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "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": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } const embed = { "title": "<:pats:801238281286713355> Pat", diff --git a/commands/poke.js b/commands/poke.js index 266dfb6..1c98e1d 100644 --- a/commands/poke.js +++ b/commands/poke.js @@ -17,7 +17,26 @@ module.exports = { const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); var gif = (gifchoices[index]); // --------------------------------------- - + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "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": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + const embed = { "title": "👉 Poke!", "description": "<@" + taggedUser + "> You have been poked by <@" + messageAuthor + ">!", diff --git a/commands/slap.js b/commands/slap.js index 74bf202..78d33b6 100644 --- a/commands/slap.js +++ b/commands/slap.js @@ -5,7 +5,30 @@ module.exports = { execute(client, message, args) { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - const embed = { +//--------------------------------------------------- + +//--------------------------------------------------- +const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "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": "Well that happened...", + "value": "You need to @mention an user!" + } + ] +}; + +if(!taggedUser) { + return message.channel.send({ embed: errorembed}); +// Checks if a user was mentioned. If not, returns error message. +} + + const embed = { "title": ":anger: Slap", "description": "<@" + taggedUser + "> You have been slapped by <@" + messageAuthor + ">!", "color": 8311585, From b02fe66a6424ec8ceef5e9a69435c0d7ae6641fd Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 30 Jan 2021 23:54:56 -0600 Subject: [PATCH 033/164] Final for lick.js --- commands/lick.js | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/commands/lick.js b/commands/lick.js index 53c7aa2..19dca35 100644 --- a/commands/lick.js +++ b/commands/lick.js @@ -1,6 +1,47 @@ module.exports = { + name: "lick", description: "Licks an user!", execute(client, message, args) { - const messageAuthor = message.author - const taggedUser = message.mentions.users.first(); \ No newline at end of file + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); +//--------------------------------------------------- + +//--------------------------------------------------- +const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "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": "Well that happened...", + "value": "You need to @mention an user!" + } + ] +}; + +if(!taggedUser) { + return message.channel.send({ embed: errorembed}); +// Checks if a user was mentioned. If not, returns error message. +} + + const embed = { + "title": "Lick", + "description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!", + "color": 8311585, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": "https://cdn.discordapp.com/attachments/803658122299572255/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif" + } + } + + + message.channel.send({ embed: embed }); + } + } From 9a224a25b203f2f8f3fb7e7fb025e9c313ee77d3 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sun, 31 Jan 2021 15:30:04 -0600 Subject: [PATCH 034/164] Begin work on new statuses --- statuses.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 statuses.json diff --git a/statuses.json b/statuses.json new file mode 100644 index 0000000..217a100 --- /dev/null +++ b/statuses.json @@ -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 + } +} \ No newline at end of file From b0ef059a52a487725145fb72fd23ef416b36876c Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sun, 31 Jan 2021 22:05:20 -0600 Subject: [PATCH 035/164] Remove unused file (servers.js) --- commands/servers.js | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 commands/servers.js diff --git a/commands/servers.js b/commands/servers.js deleted file mode 100644 index a8875a4..0000000 --- a/commands/servers.js +++ /dev/null @@ -1,37 +0,0 @@ - -module.exports = { - name: 'servers', - description: 'Lists what servers the bot is in', - execute(message) { - if (message.author.id == 309427567004483586) { - var i = 0, guildLength = 0, ownerData = {}; -var fileToExportTo = "./servers.txt"; - -client.guilds.forEach(g=> { - guildLength = client.guilds.size; - var moreSquares = ""; - for (var cnt = 0; cnt < g.name.length; cnt++) moreSquares = moreSquares + "="; - - var content = "\n== " + g.name + " ==\nID: " + g.id + "\nOWNER: " + g.owner.user.tag + " (" + g.owner.id + ")\n===" + moreSquares + "===\n"; - require("fs").appendFile(fileToExportTo, content, 'utf8', (err) => { if (err) { console.error(err); } }); - - if (ownerData[g.owner.id] == null) - ownerData[g.owner.id] = { "id": g.owner.id, "tag": g.owner.user.tag, "count": 1 }; - else - ownerData[g.owner.id].count = (ownerData[g.owner.id].count + 1); - i++; -}); - -var morecontent = []; -for (let owner in ownerData) { - morecontent.push(ownerData[owner]["tag"] + " (" + ownerData[owner]["id"] + "): " + ownerData[owner]["count"]); -}; - -var content = "\n\n== FINAL COUNTS [as they appear they owned] ==\n" + morecontent.join("\n") + "\n==============================================\nExported: " + new Date().toString() + "\nData is as accurate as exported time & date."; -require("fs").appendFile(fileToExportTo, content, 'utf8', (err) => { if (err) { console.error(err); } }); -if (i == guildLength) - message.channel.send(client.config.system.emotes.success + " Done."); - } else { - message.channel.send("<:NyabotDenied:697145462565896194> Access Denied, You must be bot owner to execute this command."); - } - }} \ No newline at end of file From 8821e5527bc64523e67f715daa64935d4c877d35 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sun, 31 Jan 2021 22:05:49 -0600 Subject: [PATCH 036/164] Delete servers.js --- commands/servers.js | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 commands/servers.js diff --git a/commands/servers.js b/commands/servers.js deleted file mode 100644 index a8875a4..0000000 --- a/commands/servers.js +++ /dev/null @@ -1,37 +0,0 @@ - -module.exports = { - name: 'servers', - description: 'Lists what servers the bot is in', - execute(message) { - if (message.author.id == 309427567004483586) { - var i = 0, guildLength = 0, ownerData = {}; -var fileToExportTo = "./servers.txt"; - -client.guilds.forEach(g=> { - guildLength = client.guilds.size; - var moreSquares = ""; - for (var cnt = 0; cnt < g.name.length; cnt++) moreSquares = moreSquares + "="; - - var content = "\n== " + g.name + " ==\nID: " + g.id + "\nOWNER: " + g.owner.user.tag + " (" + g.owner.id + ")\n===" + moreSquares + "===\n"; - require("fs").appendFile(fileToExportTo, content, 'utf8', (err) => { if (err) { console.error(err); } }); - - if (ownerData[g.owner.id] == null) - ownerData[g.owner.id] = { "id": g.owner.id, "tag": g.owner.user.tag, "count": 1 }; - else - ownerData[g.owner.id].count = (ownerData[g.owner.id].count + 1); - i++; -}); - -var morecontent = []; -for (let owner in ownerData) { - morecontent.push(ownerData[owner]["tag"] + " (" + ownerData[owner]["id"] + "): " + ownerData[owner]["count"]); -}; - -var content = "\n\n== FINAL COUNTS [as they appear they owned] ==\n" + morecontent.join("\n") + "\n==============================================\nExported: " + new Date().toString() + "\nData is as accurate as exported time & date."; -require("fs").appendFile(fileToExportTo, content, 'utf8', (err) => { if (err) { console.error(err); } }); -if (i == guildLength) - message.channel.send(client.config.system.emotes.success + " Done."); - } else { - message.channel.send("<:NyabotDenied:697145462565896194> Access Denied, You must be bot owner to execute this command."); - } - }} \ No newline at end of file From 2f6f505f84070c7036fde1db43b7864a7f6ae62d Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sun, 31 Jan 2021 22:09:21 -0600 Subject: [PATCH 037/164] Update start.js for I hope the last frickin time --- start.js | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/start.js b/start.js index 825fa22..ef76042 100644 --- a/start.js +++ b/start.js @@ -2,13 +2,9 @@ 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 435"; -const release = "anitrox_unstable" - -console.log('Starting!') -const client = new Discord.Client(); -client.commands = new Discord.Collection(); +const os = require("os"); +const version = "build 444"; +const release = "anitrox_ptb" const activities_list = [ "with np!help", "Where am I?", @@ -31,7 +27,11 @@ const activities_list = [ "my users!", "with Sophies skirt" ]; -const footicon = "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png" + +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')); @@ -43,9 +43,15 @@ for (const file of commandFiles) { client.on("error", (e) => console.error(e)); client.on("warn", (e) => console.warn(e)); -client.on("debug", (e) => console.info(e)) + client.once('ready', () => { - console.log('All systems go.'); + 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); @@ -63,6 +69,7 @@ client.on('message', message => { try { client.commands.get(command).execute(client, message, args); } catch (error) { + console.error const embed = { "title": "<:NyabotError:697145462347661412> **Well that happened...**", "color": 13632027, From 8f85c8f6af97bd4d97f6fcfd533eefb3db38fd8f Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 2 Feb 2021 00:07:52 -0600 Subject: [PATCH 038/164] Create README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b3c0dd2 --- /dev/null +++ b/README.md @@ -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. From 71d8dd7bbef45ad4183007a2015a309a61e64ec1 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 2 Feb 2021 23:56:33 -0600 Subject: [PATCH 039/164] Add snuggle, update help --- commands/help.js | 21 +++++++++++---------- commands/snuggle.js | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 10 deletions(-) create mode 100644 commands/snuggle.js diff --git a/commands/help.js b/commands/help.js index 5d14125..34cc967 100644 --- a/commands/help.js +++ b/commands/help.js @@ -4,33 +4,34 @@ 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" } ] }; diff --git a/commands/snuggle.js b/commands/snuggle.js new file mode 100644 index 0000000..6aeda22 --- /dev/null +++ b/commands/snuggle.js @@ -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://i.pinimg.com/originals/4d/89/d7/4d89d7f963b41a416ec8a55230dab31b.gif", + "https://media1.tenor.com/images/6d73b0a9cadef5310be4b6160d2f959a/tenor.gif?itemid=12099823", + "https://media.tenor.com/images/2636cf3c8152631b4630bf71757a4afa/tenor.gif", + "https://i.imgur.com/JiFpT5E.gif" + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); + var gif = (gifchoices[index]); + // --------------------------------------- + + const embed = { + "title": ":heart: Cuddle", + "description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!", + "color": 8311585, + "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 }); + } + } From 5d7f995bc2bff61f752b4de960eb16c24d7cb5b3 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 2 Feb 2021 23:57:28 -0600 Subject: [PATCH 040/164] =?UTF-8?q?works=20on=20my=20machine=20=C2=AF\=5F(?= =?UTF-8?q?=E3=83=84)=5F/=C2=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/config.json | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 commands/config.json diff --git a/commands/config.json b/commands/config.json deleted file mode 100644 index 054d70b..0000000 --- a/commands/config.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "prefix": "n!", - "token": "NTQwOTQxNjc5MDQ2Mjk1NTUz.XotbnA.0hllsNlr9hWaepl3KwB1Bhh5TnA", - "ownerID": "309427567004483586" -} \ No newline at end of file From edff0ee0fcbf5f231dcab1a4204bc9e0f70b6d0a Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 3 Feb 2021 00:11:16 -0600 Subject: [PATCH 041/164] Change odds of leskiss's GIF choices --- commands/leskiss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/leskiss.js b/commands/leskiss.js index 2476a3c..45a347d 100644 --- a/commands/leskiss.js +++ b/commands/leskiss.js @@ -27,7 +27,7 @@ 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 = { From d836479ba0831e6b04d1a97fed195a627115e7fc Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 3 Feb 2021 21:53:42 -0600 Subject: [PATCH 042/164] Add Trello to help --- commands/help.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/commands/help.js b/commands/help.js index 34cc967..d897d38 100644 --- a/commands/help.js +++ b/commands/help.js @@ -32,7 +32,13 @@ const embed = { { "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 }); From 6c601d6e49d15f47c8d6d244a763d3a976fddbd2 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 4 Feb 2021 00:58:46 -0600 Subject: [PATCH 043/164] Finish snuggle, Added GIF to hug --- commands/hug.js | 3 ++- commands/snuggle.js | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/commands/hug.js b/commands/hug.js index a136479..5719400 100644 --- a/commands/hug.js +++ b/commands/hug.js @@ -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 = { diff --git a/commands/snuggle.js b/commands/snuggle.js index 6aeda22..ce4b82a 100644 --- a/commands/snuggle.js +++ b/commands/snuggle.js @@ -8,18 +8,18 @@ module.exports = { // -------------------------------------- const gifchoices = [ - "https://i.pinimg.com/originals/4d/89/d7/4d89d7f963b41a416ec8a55230dab31b.gif", - "https://media1.tenor.com/images/6d73b0a9cadef5310be4b6160d2f959a/tenor.gif?itemid=12099823", - "https://media.tenor.com/images/2636cf3c8152631b4630bf71757a4afa/tenor.gif", - "https://i.imgur.com/JiFpT5E.gif" + "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": ":heart: Cuddle", - "description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!", + "title": "<:BlobSnuggleCat:806759753450782731> Snuggle", + "description": "<@" + taggedUser + ">" + " You have been snuggled by " + "<@" + messageAuthor + ">!", "color": 8311585, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", From dd22c5e4ca9d044af843ea564f33b55e8815dc5f Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 4 Feb 2021 01:26:09 -0600 Subject: [PATCH 044/164] Create ptb5.txt --- ptb5.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ptb5.txt diff --git a/ptb5.txt b/ptb5.txt new file mode 100644 index 0000000..73c71f4 --- /dev/null +++ b/ptb5.txt @@ -0,0 +1,8 @@ +Anitrox PTB Release 5 (Build 455) 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! ++ Added snuggle, This may be so I can snuggle my girlfriend with the bot :eyes: +~ Added new GIF to hug command. +! Work for role management will be starting soon. You can see its status at Trello! +Anitrox Fun Fact no.1: Anitrox uses they/them pronouns. From 9fa6ca05e3cff34f47379f7df62cdda2c6a6abe0 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 4 Feb 2021 01:29:09 -0600 Subject: [PATCH 045/164] Begin work for 8ball --- 8ball.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 8ball.js diff --git a/8ball.js b/8ball.js new file mode 100644 index 0000000..476ae0f --- /dev/null +++ b/8ball.js @@ -0,0 +1,5 @@ +module.exports = { + name: '8ball', + description: 'Ask Anitrox a question, any question! and they will answer it!', + execute(client, message, args) { + \ No newline at end of file From cc8479796963830ae2d9c8e8c34865f195ac8200 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 4 Feb 2021 10:23:39 -0600 Subject: [PATCH 046/164] Remove 8ball --- 8ball.js | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 8ball.js diff --git a/8ball.js b/8ball.js deleted file mode 100644 index 476ae0f..0000000 --- a/8ball.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - name: '8ball', - description: 'Ask Anitrox a question, any question! and they will answer it!', - execute(client, message, args) { - \ No newline at end of file From 866a53ef6cebb38605160a610a92170291cb53c5 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 4 Feb 2021 10:24:10 -0600 Subject: [PATCH 047/164] Update ptb5.txt --- ptb5.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/ptb5.txt b/ptb5.txt index 73c71f4..748138b 100644 --- a/ptb5.txt +++ b/ptb5.txt @@ -3,6 +3,7 @@ Anitrox PTB Release 5 (Build 455) adds new fixes and features to Anitrox. + 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! + Added snuggle, This may be so I can snuggle my girlfriend with the bot :eyes: ++ userinfo is now finished! ~ Added new GIF to hug command. ! Work for role management will be starting soon. You can see its status at Trello! Anitrox Fun Fact no.1: Anitrox uses they/them pronouns. From 8a3dc09653fa3c918aad06ef707228d1bd211477 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 4 Feb 2021 18:59:55 -0600 Subject: [PATCH 048/164] Delete todo.txt --- commands/todo.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 commands/todo.txt diff --git a/commands/todo.txt b/commands/todo.txt deleted file mode 100644 index 8e3c09c..0000000 --- a/commands/todo.txt +++ /dev/null @@ -1 +0,0 @@ -This is really just to make a directory lol. From c7ba61f5ca411b3b047458b4bde8ae323476ea18 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 4 Feb 2021 19:03:16 -0600 Subject: [PATCH 049/164] Update info --- commands/info.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/commands/info.js b/commands/info.js index c549db5..f96c97b 100644 --- a/commands/info.js +++ b/commands/info.js @@ -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" From ea73dcbeba5f25ed98e2c98275e2a074503587ea Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 5 Feb 2021 01:31:20 -0600 Subject: [PATCH 050/164] Add 8ball test --- commands/8ball.js | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 commands/8ball.js diff --git a/commands/8ball.js b/commands/8ball.js new file mode 100644 index 0000000..7ac5ef3 --- /dev/null +++ b/commands/8ball.js @@ -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. + ] + const index = Math.floor(Math.random() * (answers.length - 1) + 1); + var answer = (answers[index]); + + const embed = { + "title": ":8ball: Anitrox 8 Ball", + "description": "**question**", + "color": 6942950, + "footer": { + "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", + "text": "Made with :heart: in Illinois | Anitrox (C) IDeletedSystem64 2018-2021" + }, + "author": { + "name": "author name", + "url": "https://discordapp.com", + "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png" + }, + "fields": [ + { + "name": "🤔", + "value": "answer" + } + ] + }; + message.channel.send({ embed }); \ No newline at end of file From 9080311b4c5ebd3349c0a997b4a5a90ee64e0e9f Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 5 Feb 2021 01:33:25 -0600 Subject: [PATCH 051/164] Fix "unexpected end of input" on startup (8ball) --- commands/8ball.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/8ball.js b/commands/8ball.js index 7ac5ef3..096fb04 100644 --- a/commands/8ball.js +++ b/commands/8ball.js @@ -36,4 +36,6 @@ module.exports = { } ] }; - message.channel.send({ embed }); \ No newline at end of file + message.channel.send({ embed }); + } +} \ No newline at end of file From 23d34d8fdc921e53ac68b41d858c6ab49647aac7 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 5 Feb 2021 01:52:39 -0600 Subject: [PATCH 052/164] Update 8ball --- commands/8ball.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/commands/8ball.js b/commands/8ball.js index 096fb04..0e5f6af 100644 --- a/commands/8ball.js +++ b/commands/8ball.js @@ -14,25 +14,22 @@ module.exports = { // This should have a 50/50 amount of yes and no answers for equality. ] const index = Math.floor(Math.random() * (answers.length - 1) + 1); + const question = message.content var answer = (answers[index]); const embed = { "title": ":8ball: Anitrox 8 Ball", - "description": "**question**", + "description": "**" + question + "**", "color": 6942950, "footer": { "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", "text": "Made with :heart: in Illinois | Anitrox (C) IDeletedSystem64 2018-2021" }, - "author": { - "name": "author name", - "url": "https://discordapp.com", - "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png" - }, + "fields": [ { - "name": "🤔", - "value": "answer" + "name": "🤔 My Answer", + "value": answer } ] }; From 8938536120e21cd7418cd57a7480e9c372aa9a68 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 5 Feb 2021 21:59:24 -0600 Subject: [PATCH 053/164] Final 8ball, Thanks to @OfficialTCGMatt for helping with this. --- commands/8ball.js | 75 ++++++++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 37 deletions(-) diff --git a/commands/8ball.js b/commands/8ball.js index 0e5f6af..2132040 100644 --- a/commands/8ball.js +++ b/commands/8ball.js @@ -1,38 +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. - ] - const index = Math.floor(Math.random() * (answers.length - 1) + 1); - const question = message.content - var answer = (answers[index]); - - const embed = { - "title": ":8ball: Anitrox 8 Ball", - "description": "**" + question + "**", - "color": 6942950, - "footer": { - "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", - "text": "Made with :heart: in Illinois | Anitrox (C) IDeletedSystem64 2018-2021" - }, - - "fields": [ - { - "name": "🤔 My Answer", - "value": answer - } - ] - }; - message.channel.send({ embed }); - } +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 }); + } } \ No newline at end of file From 971ecd843c76cd121911ce37530e9cc3d15b0452 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 5 Feb 2021 22:03:15 -0600 Subject: [PATCH 054/164] Update ptb5.txt --- ptb5.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptb5.txt b/ptb5.txt index 748138b..9bd1dfc 100644 --- a/ptb5.txt +++ b/ptb5.txt @@ -1,7 +1,7 @@ Anitrox PTB Release 5 (Build 455) 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! ++ 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 :eyes: + userinfo is now finished! ~ Added new GIF to hug command. From 41c015d890407b616af7d9c08a0e848eb5671db3 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 01:24:24 -0600 Subject: [PATCH 055/164] Update ptb5.txt --- ptb5.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/ptb5.txt b/ptb5.txt index 9bd1dfc..688a265 100644 --- a/ptb5.txt +++ b/ptb5.txt @@ -5,5 +5,4 @@ Anitrox PTB Release 5 (Build 455) adds new fixes and features to Anitrox. + Added snuggle, This may be so I can snuggle my girlfriend with the bot :eyes: + userinfo is now finished! ~ Added new GIF to hug command. -! Work for role management will be starting soon. You can see its status at Trello! Anitrox Fun Fact no.1: Anitrox uses they/them pronouns. From f3ca9678f085ee141201c6506336a332fd3464ae Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 01:42:55 -0600 Subject: [PATCH 056/164] Continue work on userinfo --- commands/userinfo.js | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/commands/userinfo.js b/commands/userinfo.js index 33f006a..e3ea6aa 100644 --- a/commands/userinfo.js +++ b/commands/userinfo.js @@ -4,9 +4,9 @@ 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(); 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, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -14,7 +14,7 @@ module.exports = { }, "thumbnail": { - "url": taggedUser.displayAvatarURL() + "url": user.displayAvatarURL() }, "fields": [ { @@ -23,15 +23,23 @@ module.exports = { }, { "name": "Full Username", - "value": taggedUser.tag + "value": user.tag + }, + { + "name": "User Presence", + value: user.presence.status + }, + { + "name": "User Status", + value: user.presence.activity }, { "name": "User ID", - "value": "``" + taggedUser.id + "``" + "value": "``" + user.id + "``" }, { "name": "User Joined Discord", - "value": taggedUser.createdAt, + "value": user.createdAt, inline: true }, From 9e4e6347dc5e2a61cf7462028bb2b07bc94707ad Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 11:07:36 -0600 Subject: [PATCH 057/164] Update userinfo --- commands/userinfo.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/commands/userinfo.js b/commands/userinfo.js index e3ea6aa..1c429ba 100644 --- a/commands/userinfo.js +++ b/commands/userinfo.js @@ -5,6 +5,22 @@ module.exports = { execute(client, message, args) { const user = message.mentions.users.first(); + for (var i=0;i Date: Sat, 6 Feb 2021 11:10:52 -0600 Subject: [PATCH 058/164] Fix command reloader being accessible by anyone --- commands/reload.js | 68 +++++++++++++++++++++++++++++----------------- 1 file changed, 43 insertions(+), 25 deletions(-) diff --git a/commands/reload.js b/commands/reload.js index 475bb7c..387c418 100644 --- a/commands/reload.js +++ b/commands/reload.js @@ -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 }); + } + }, }; \ No newline at end of file From 8e29f2b32247e749e163bb755f2308460618a421 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 11:11:44 -0600 Subject: [PATCH 059/164] Update ptb5.txt --- ptb5.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ptb5.txt b/ptb5.txt index 688a265..b8f919f 100644 --- a/ptb5.txt +++ b/ptb5.txt @@ -4,5 +4,7 @@ Anitrox PTB Release 5 (Build 455) adds new fixes and features to Anitrox. + 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 :eyes: + 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. From 168b973f2dbe4d46582f42658ea42236031289d1 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 12:06:43 -0600 Subject: [PATCH 060/164] Finish userinfo --- userinfo.js | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 userinfo.js diff --git a/userinfo.js b/userinfo.js new file mode 100644 index 0000000..571e940 --- /dev/null +++ b/userinfo.js @@ -0,0 +1,67 @@ +module.exports = { + + name: "userinfo", + description: "Gets info about an user, such as ID, Discord Join date and more.", + execute(client, message, args) { + + + + + + + const user = message.mentions.users.first(); + var i=0;i Date: Sat, 6 Feb 2021 12:07:33 -0600 Subject: [PATCH 061/164] Fix GIF issue on action commands (I hope) --- cuddle.js | 36 ++++++++++++++++++++++++++++ hug.js | 54 +++++++++++++++++++++++++++++++++++++++++ kiss.js | 60 ++++++++++++++++++++++++++++++++++++++++++++++ leskiss.js | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ lick.js | 58 ++++++++++++++++++++++++++++++++++++++++++++ nom.js | 57 ++++++++++++++++++++++++++++++++++++++++++++ pat.js | 56 +++++++++++++++++++++++++++++++++++++++++++ poke.js | 56 +++++++++++++++++++++++++++++++++++++++++++ slap.js | 47 ++++++++++++++++++++++++++++++++++++ snuggle.js | 36 ++++++++++++++++++++++++++++ 10 files changed, 530 insertions(+) create mode 100644 cuddle.js create mode 100644 hug.js create mode 100644 kiss.js create mode 100644 leskiss.js create mode 100644 lick.js create mode 100644 nom.js create mode 100644 pat.js create mode 100644 poke.js create mode 100644 slap.js create mode 100644 snuggle.js diff --git a/cuddle.js b/cuddle.js new file mode 100644 index 0000000..15f1e41 --- /dev/null +++ b/cuddle.js @@ -0,0 +1,36 @@ +module.exports = { + + name: "cuddle", + description: "Cuddle an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + // -------------------------------------- + const gifchoices = [ + "https://i.pinimg.com/originals/4d/89/d7/4d89d7f963b41a416ec8a55230dab31b.gif", + "https://media1.tenor.com/images/6d73b0a9cadef5310be4b6160d2f959a/tenor.gif?itemid=12099823", + "https://media.tenor.com/images/2636cf3c8152631b4630bf71757a4afa/tenor.gif", + "https://i.imgur.com/JiFpT5E.gif" + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); + var gif = (gifchoices[index]); + // --------------------------------------- + + const embed = { + "title": ":heart: Cuddle", + "description": "<@" + taggedUser + ">" + " You have been cuddled 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 }); + } + } diff --git a/hug.js b/hug.js new file mode 100644 index 0000000..d2dc354 --- /dev/null +++ b/hug.js @@ -0,0 +1,54 @@ +module.exports = { + + name: "hug", + description: "Hugs an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + const gifchoices = [ + "https://cdn.discordapp.com/attachments/803658122299572255/807670647920001044/hug2.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807670797983285268/hug1.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807670951113392178/gif6.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807670972965453824/hug3.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807671126376972308/gif4.gif" + ]; + //--------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "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" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); + var gif = (gifchoices[index]); + const embed = { + "title": " Hug", + "description": "<@" + taggedUser + ">" + " You have been hugged by " + "<@" + messageAuthor + ">!", + "color": 8311585, + "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 }); + } + } diff --git a/kiss.js b/kiss.js new file mode 100644 index 0000000..2e80494 --- /dev/null +++ b/kiss.js @@ -0,0 +1,60 @@ +module.exports = { + + name: "kiss", + description: "Kisses an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + + // -------------------------------------- + const gifchoices = [ + "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]); + // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "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": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + 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": 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 }); + } + } diff --git a/leskiss.js b/leskiss.js new file mode 100644 index 0000000..9412e16 --- /dev/null +++ b/leskiss.js @@ -0,0 +1,70 @@ +const { Message } = require("discord.js"); +const { execute } = require("./info"); + +module.exports = { + + name: "leskiss", + description: "Lesbian kiss <:lesbian:803831629428686849>", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + // -------------------------------------- + const gifchoices = [ + "https://cdn.discordapp.com/attachments/793537380330111028/803833954750038066/gif5.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803833959338475550/gif12.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834034135236628/gif9.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834082034843658/gif18.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834094063583302/gif8.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834099869024296/gif10.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834132035665950/gif16.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834146413084713/gif13.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834249425715210/gif22.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834323898990592/gif11.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834328848793650/gif14.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834391226351676/gif17.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834391226351676/gif17.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834498714304522/gif15.gif", + "https://cdn.discordapp.com/attachments/793537380330111028/803834514269798460/gif19.gif" + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1.75); + var gif = (gifchoices[index]); + // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "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" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + + + const embed = { + "title": ":heart: <:lesbian:803831629428686849> Kiss", + "description": "<@" + taggedUser + ">" + " You have been kissed by <@" + messageAuthor + ">! <:lesbian:803831629428686849>", + "color": 8311585, + "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 }); + } +} diff --git a/lick.js b/lick.js new file mode 100644 index 0000000..4851bbf --- /dev/null +++ b/lick.js @@ -0,0 +1,58 @@ +module.exports = { + + name: "lick", + description: "Licks an user!", + execute(client, message, args) { + 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": 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" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] +}; + +if(!taggedUser) { + return message.channel.send({ embed: errorembed}); +// Checks if a user was mentioned. If not, returns error message. +} + + const embed = { + "title": " Lick", + "description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!", + "color": 8311585, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": "https://cdn.discordapp.com/attachments/803658122299572255/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif" + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/nom.js b/nom.js new file mode 100644 index 0000000..4956020 --- /dev/null +++ b/nom.js @@ -0,0 +1,57 @@ +module.exports = { + + name: "nom", + description: "Noms an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + // -------------------------------------- + const gifchoices = [ + "https://i.imgur.com/Ns1RBzX.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": 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" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + + const embed = { + "title": "<:BlobNomBlob:801241117919805510> Nom", + "description": "<@" + taggedUser + "> You have been nommed by <@" + messageAuthor + ">!", + "color": 8311585, + "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 }); + } + } diff --git a/pat.js b/pat.js new file mode 100644 index 0000000..033b062 --- /dev/null +++ b/pat.js @@ -0,0 +1,56 @@ +module.exports = { + + name: "pat", + description: "Pats an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + // -------------------------------------- + const gifchoices = [ + "https://cdn.discordapp.com/attachments/803658122299572255/803708174293008474/tenor.gif", + "https://community.gamepress.gg/uploads/default/original/3X/0/a/0a762099c5ad6de9ca5f13dd22a7e45884a99eb3.gif", + "https://media1.giphy.com/media/ARSp9T7wwxNcs/giphy.gif" + + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); + var gif = (gifchoices[index]); + // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "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" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + + const embed = { + "title": "<:pats:801238281286713355> Pat", + "description": "<@" + taggedUser + "> You have been patted by <@" + messageAuthor + ">!", + "color": 8311585, + "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 }); + } + } diff --git a/poke.js b/poke.js new file mode 100644 index 0000000..eb04bfb --- /dev/null +++ b/poke.js @@ -0,0 +1,56 @@ +module.exports = { + + name: "poke", + description: "Pokes an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + // -------------------------------------- + const gifchoices = [ + "https://i.pinimg.com/originals/b4/95/fb/b495fb19f4b9a1b04f48297b676c497b.gif", + "https://i.imgur.com/H7Ok5tn.gif", + "https://media1.tenor.com/images/8fe23ec8e2c5e44964e5c11983ff6f41/tenor.gif?itemid=5600215" + + + ]; + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); + var gif = (gifchoices[index]); + // --------------------------------------- + const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "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" + }, + "fields": [ + { + "name": "Well that happened...", + "value": "You need to @mention an user!" + } + ] + }; + + if(!taggedUser) { + return message.channel.send({ embed: errorembed}); + // Checks if a user was mentioned. If not, returns error message. + } + + const embed = { + "title": "👉 Poke!", + "description": "<@" + taggedUser + "> You have been poked by <@" + messageAuthor + ">!", + "color": 8311585, + "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 }); + } + } diff --git a/slap.js b/slap.js new file mode 100644 index 0000000..0582203 --- /dev/null +++ b/slap.js @@ -0,0 +1,47 @@ +module.exports = { + + name: "slap", + description: "Slaps an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); +//--------------------------------------------------- + +//--------------------------------------------------- +const errorembed = { + "title": "<:NyabotError:697145462347661412> Error", + "color": 13632027, + "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": "Well that happened...", + "value": "You need to @mention an user!" + } + ] +}; + +if(!taggedUser) { + return message.channel.send({ embed: errorembed}); +// Checks if a user was mentioned. If not, returns error message. +} + + const embed = { + "title": ":anger: Slap", + "description": "<@" + taggedUser + "> You have been slapped 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": "https://media1.tenor.com/images/b6d8a83eb652a30b95e87cf96a21e007/tenor.gif?itemid=10426943" + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/snuggle.js b/snuggle.js new file mode 100644 index 0000000..4a5f982 --- /dev/null +++ b/snuggle.js @@ -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 }); + } + } \ No newline at end of file From 7ed0ea9719a647a87b045b2ad7dd1b1daac33ecf Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 12:13:59 -0600 Subject: [PATCH 062/164] Revert "Fix GIF issue on action commands (I hope)" This reverts commit cfd81dfdd591c7fc3c92c0da07c45b622c66b2a2. --- cuddle.js | 36 ---------------------------- hug.js | 54 ----------------------------------------- kiss.js | 60 ---------------------------------------------- leskiss.js | 70 ------------------------------------------------------ lick.js | 58 -------------------------------------------- nom.js | 57 -------------------------------------------- pat.js | 56 ------------------------------------------- poke.js | 56 ------------------------------------------- slap.js | 47 ------------------------------------ snuggle.js | 36 ---------------------------- 10 files changed, 530 deletions(-) delete mode 100644 cuddle.js delete mode 100644 hug.js delete mode 100644 kiss.js delete mode 100644 leskiss.js delete mode 100644 lick.js delete mode 100644 nom.js delete mode 100644 pat.js delete mode 100644 poke.js delete mode 100644 slap.js delete mode 100644 snuggle.js diff --git a/cuddle.js b/cuddle.js deleted file mode 100644 index 15f1e41..0000000 --- a/cuddle.js +++ /dev/null @@ -1,36 +0,0 @@ -module.exports = { - - name: "cuddle", - description: "Cuddle an user!", - execute(client, message, args) { - const messageAuthor = message.author - const taggedUser = message.mentions.users.first(); - - // -------------------------------------- - const gifchoices = [ - "https://i.pinimg.com/originals/4d/89/d7/4d89d7f963b41a416ec8a55230dab31b.gif", - "https://media1.tenor.com/images/6d73b0a9cadef5310be4b6160d2f959a/tenor.gif?itemid=12099823", - "https://media.tenor.com/images/2636cf3c8152631b4630bf71757a4afa/tenor.gif", - "https://i.imgur.com/JiFpT5E.gif" - ]; - const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1); - var gif = (gifchoices[index]); - // --------------------------------------- - - const embed = { - "title": ":heart: Cuddle", - "description": "<@" + taggedUser + ">" + " You have been cuddled 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 }); - } - } diff --git a/hug.js b/hug.js deleted file mode 100644 index d2dc354..0000000 --- a/hug.js +++ /dev/null @@ -1,54 +0,0 @@ -module.exports = { - - name: "hug", - description: "Hugs an user!", - execute(client, message, args) { - const messageAuthor = message.author - const taggedUser = message.mentions.users.first(); - const gifchoices = [ - "https://cdn.discordapp.com/attachments/803658122299572255/807670647920001044/hug2.gif", - "https://cdn.discordapp.com/attachments/803658122299572255/807670797983285268/hug1.gif", - "https://cdn.discordapp.com/attachments/803658122299572255/807670951113392178/gif6.gif", - "https://cdn.discordapp.com/attachments/803658122299572255/807670972965453824/hug3.gif", - "https://cdn.discordapp.com/attachments/803658122299572255/807671126376972308/gif4.gif" - ]; - //--------------------------------- - const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", - "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" - }, - "fields": [ - { - "name": "Well that happened...", - "value": "You need to @mention an user!" - } - ] - }; - - if(!taggedUser) { - return message.channel.send({ embed: errorembed}); - // Checks if a user was mentioned. If not, returns error message. - } - - const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); - var gif = (gifchoices[index]); - const embed = { - "title": " Hug", - "description": "<@" + taggedUser + ">" + " You have been hugged by " + "<@" + messageAuthor + ">!", - "color": 8311585, - "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 }); - } - } diff --git a/kiss.js b/kiss.js deleted file mode 100644 index 2e80494..0000000 --- a/kiss.js +++ /dev/null @@ -1,60 +0,0 @@ -module.exports = { - - name: "kiss", - description: "Kisses an user!", - execute(client, message, args) { - const messageAuthor = message.author - const taggedUser = message.mentions.users.first(); - - - // -------------------------------------- - const gifchoices = [ - "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]); - // --------------------------------------- - const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", - "color": 13632027, - "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": "Well that happened...", - "value": "You need to @mention an user!" - } - ] - }; - - 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": 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 }); - } - } diff --git a/leskiss.js b/leskiss.js deleted file mode 100644 index 9412e16..0000000 --- a/leskiss.js +++ /dev/null @@ -1,70 +0,0 @@ -const { Message } = require("discord.js"); -const { execute } = require("./info"); - -module.exports = { - - name: "leskiss", - description: "Lesbian kiss <:lesbian:803831629428686849>", - execute(client, message, args) { - const messageAuthor = message.author - const taggedUser = message.mentions.users.first(); - // -------------------------------------- - const gifchoices = [ - "https://cdn.discordapp.com/attachments/793537380330111028/803833954750038066/gif5.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803833959338475550/gif12.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834034135236628/gif9.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834082034843658/gif18.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834094063583302/gif8.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834099869024296/gif10.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834132035665950/gif16.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834146413084713/gif13.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834249425715210/gif22.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834323898990592/gif11.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834328848793650/gif14.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834391226351676/gif17.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834391226351676/gif17.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834498714304522/gif15.gif", - "https://cdn.discordapp.com/attachments/793537380330111028/803834514269798460/gif19.gif" - - ]; - const index = Math.floor(Math.random() * (gifchoices.length - 1) + 1.75); - var gif = (gifchoices[index]); - // --------------------------------------- - const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", - "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" - }, - "fields": [ - { - "name": "Well that happened...", - "value": "You need to @mention an user!" - } - ] - }; - - if(!taggedUser) { - return message.channel.send({ embed: errorembed}); - // Checks if a user was mentioned. If not, returns error message. - } - - - const embed = { - "title": ":heart: <:lesbian:803831629428686849> Kiss", - "description": "<@" + taggedUser + ">" + " You have been kissed by <@" + messageAuthor + ">! <:lesbian:803831629428686849>", - "color": 8311585, - "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 }); - } -} diff --git a/lick.js b/lick.js deleted file mode 100644 index 4851bbf..0000000 --- a/lick.js +++ /dev/null @@ -1,58 +0,0 @@ -module.exports = { - - name: "lick", - description: "Licks an user!", - execute(client, message, args) { - 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": 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" - }, - "fields": [ - { - "name": "Well that happened...", - "value": "You need to @mention an user!" - } - ] -}; - -if(!taggedUser) { - return message.channel.send({ embed: errorembed}); -// Checks if a user was mentioned. If not, returns error message. -} - - const embed = { - "title": " Lick", - "description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!", - "color": 8311585, - "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" - }, - "image": { - "url": "https://cdn.discordapp.com/attachments/803658122299572255/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif" - } - } - - - message.channel.send({ embed: embed }); - } - } diff --git a/nom.js b/nom.js deleted file mode 100644 index 4956020..0000000 --- a/nom.js +++ /dev/null @@ -1,57 +0,0 @@ -module.exports = { - - name: "nom", - description: "Noms an user!", - execute(client, message, args) { - const messageAuthor = message.author - const taggedUser = message.mentions.users.first(); - - // -------------------------------------- - const gifchoices = [ - "https://i.imgur.com/Ns1RBzX.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": 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" - }, - "fields": [ - { - "name": "Well that happened...", - "value": "You need to @mention an user!" - } - ] - }; - - if(!taggedUser) { - return message.channel.send({ embed: errorembed}); - // Checks if a user was mentioned. If not, returns error message. - } - - const embed = { - "title": "<:BlobNomBlob:801241117919805510> Nom", - "description": "<@" + taggedUser + "> You have been nommed by <@" + messageAuthor + ">!", - "color": 8311585, - "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 }); - } - } diff --git a/pat.js b/pat.js deleted file mode 100644 index 033b062..0000000 --- a/pat.js +++ /dev/null @@ -1,56 +0,0 @@ -module.exports = { - - name: "pat", - description: "Pats an user!", - execute(client, message, args) { - const messageAuthor = message.author - const taggedUser = message.mentions.users.first(); - - // -------------------------------------- - const gifchoices = [ - "https://cdn.discordapp.com/attachments/803658122299572255/803708174293008474/tenor.gif", - "https://community.gamepress.gg/uploads/default/original/3X/0/a/0a762099c5ad6de9ca5f13dd22a7e45884a99eb3.gif", - "https://media1.giphy.com/media/ARSp9T7wwxNcs/giphy.gif" - - - ]; - const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); - var gif = (gifchoices[index]); - // --------------------------------------- - const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", - "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" - }, - "fields": [ - { - "name": "Well that happened...", - "value": "You need to @mention an user!" - } - ] - }; - - if(!taggedUser) { - return message.channel.send({ embed: errorembed}); - // Checks if a user was mentioned. If not, returns error message. - } - - const embed = { - "title": "<:pats:801238281286713355> Pat", - "description": "<@" + taggedUser + "> You have been patted by <@" + messageAuthor + ">!", - "color": 8311585, - "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 }); - } - } diff --git a/poke.js b/poke.js deleted file mode 100644 index eb04bfb..0000000 --- a/poke.js +++ /dev/null @@ -1,56 +0,0 @@ -module.exports = { - - name: "poke", - description: "Pokes an user!", - execute(client, message, args) { - const messageAuthor = message.author - const taggedUser = message.mentions.users.first(); - - // -------------------------------------- - const gifchoices = [ - "https://i.pinimg.com/originals/b4/95/fb/b495fb19f4b9a1b04f48297b676c497b.gif", - "https://i.imgur.com/H7Ok5tn.gif", - "https://media1.tenor.com/images/8fe23ec8e2c5e44964e5c11983ff6f41/tenor.gif?itemid=5600215" - - - ]; - const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); - var gif = (gifchoices[index]); - // --------------------------------------- - const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", - "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" - }, - "fields": [ - { - "name": "Well that happened...", - "value": "You need to @mention an user!" - } - ] - }; - - if(!taggedUser) { - return message.channel.send({ embed: errorembed}); - // Checks if a user was mentioned. If not, returns error message. - } - - const embed = { - "title": "👉 Poke!", - "description": "<@" + taggedUser + "> You have been poked by <@" + messageAuthor + ">!", - "color": 8311585, - "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 }); - } - } diff --git a/slap.js b/slap.js deleted file mode 100644 index 0582203..0000000 --- a/slap.js +++ /dev/null @@ -1,47 +0,0 @@ -module.exports = { - - name: "slap", - description: "Slaps an user!", - execute(client, message, args) { - const messageAuthor = message.author - const taggedUser = message.mentions.users.first(); -//--------------------------------------------------- - -//--------------------------------------------------- -const errorembed = { - "title": "<:NyabotError:697145462347661412> Error", - "color": 13632027, - "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": "Well that happened...", - "value": "You need to @mention an user!" - } - ] -}; - -if(!taggedUser) { - return message.channel.send({ embed: errorembed}); -// Checks if a user was mentioned. If not, returns error message. -} - - const embed = { - "title": ":anger: Slap", - "description": "<@" + taggedUser + "> You have been slapped 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": "https://media1.tenor.com/images/b6d8a83eb652a30b95e87cf96a21e007/tenor.gif?itemid=10426943" - } - } - - - message.channel.send({ embed: embed }); - } - } diff --git a/snuggle.js b/snuggle.js deleted file mode 100644 index 4a5f982..0000000 --- a/snuggle.js +++ /dev/null @@ -1,36 +0,0 @@ -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 }); - } - } \ No newline at end of file From 1a8badd5f42d3070494b7e48327cb0436bd2f83a Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 12:15:55 -0600 Subject: [PATCH 063/164] Fix action command GIF issue (I hope) --- commands/bonk.js | 2 +- commands/cuddle.js | 2 +- commands/kiss.js | 18 ++++++++------ commands/leskiss.js | 2 +- commands/lick.js | 15 ++++++++++-- commands/nom.js | 2 +- commands/pat.js | 2 +- commands/poke.js | 2 +- commands/slap.js | 2 +- commands/snuggle.js | 58 ++++++++++++++++++++++----------------------- 10 files changed, 60 insertions(+), 45 deletions(-) diff --git a/commands/bonk.js b/commands/bonk.js index 073c39c..41c7d5d 100644 --- a/commands/bonk.js +++ b/commands/bonk.js @@ -28,7 +28,7 @@ module.exports = { const embed = { "title": " 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" diff --git a/commands/cuddle.js b/commands/cuddle.js index bb945ef..15f1e41 100644 --- a/commands/cuddle.js +++ b/commands/cuddle.js @@ -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" diff --git a/commands/kiss.js b/commands/kiss.js index 37c49c6..2e80494 100644 --- a/commands/kiss.js +++ b/commands/kiss.js @@ -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" diff --git a/commands/leskiss.js b/commands/leskiss.js index 45a347d..9412e16 100644 --- a/commands/leskiss.js +++ b/commands/leskiss.js @@ -32,7 +32,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" diff --git a/commands/lick.js b/commands/lick.js index 19dca35..4851bbf 100644 --- a/commands/lick.js +++ b/commands/lick.js @@ -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": " Lick", "description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!", "color": 8311585, "footer": { diff --git a/commands/nom.js b/commands/nom.js index 3449231..4956020 100644 --- a/commands/nom.js +++ b/commands/nom.js @@ -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" diff --git a/commands/pat.js b/commands/pat.js index a876ba4..033b062 100644 --- a/commands/pat.js +++ b/commands/pat.js @@ -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" diff --git a/commands/poke.js b/commands/poke.js index 1c98e1d..eb04bfb 100644 --- a/commands/poke.js +++ b/commands/poke.js @@ -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" diff --git a/commands/slap.js b/commands/slap.js index 78d33b6..0582203 100644 --- a/commands/slap.js +++ b/commands/slap.js @@ -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" diff --git a/commands/snuggle.js b/commands/snuggle.js index ce4b82a..4a5f982 100644 --- a/commands/snuggle.js +++ b/commands/snuggle.js @@ -1,36 +1,36 @@ module.exports = { - name: "snuggle", - description: "Snuggle an user!", - execute(client, message, args) { - const messageAuthor = message.author - const taggedUser = message.mentions.users.first(); + 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 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 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": 8311585, - "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 - } + 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 }); - } - } + message.channel.send({ embed: embed }); + } + } \ No newline at end of file From 606d6a02c8a3259a85184372627a6d45b8bf82ab Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 12:18:00 -0600 Subject: [PATCH 064/164] Update ptb5.txt --- ptb5.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptb5.txt b/ptb5.txt index b8f919f..41614e1 100644 --- a/ptb5.txt +++ b/ptb5.txt @@ -1,4 +1,4 @@ -Anitrox PTB Release 5 (Build 455) adds new fixes and features to Anitrox. +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. From b5264074882f0c3262469ce62cad7c47bdfdd491 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 12:18:33 -0600 Subject: [PATCH 065/164] Fix one of the statuses --- start.js | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/start.js b/start.js index 825fa22..59131f2 100644 --- a/start.js +++ b/start.js @@ -2,13 +2,9 @@ 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 435"; -const release = "anitrox_unstable" - -console.log('Starting!') -const client = new Discord.Client(); -client.commands = new Discord.Collection(); +const os = require("os"); +const version = "build 465"; +const release = "anitrox_ptb" const activities_list = [ "with np!help", "Where am I?", @@ -28,10 +24,14 @@ const activities_list = [ "Team Fortress 2 with Sophie", "videos on Hulu", "American Truck Simulator", - "my users!", + "with my users!", "with Sophies skirt" ]; -const footicon = "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png" + +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')); @@ -43,9 +43,15 @@ for (const file of commandFiles) { client.on("error", (e) => console.error(e)); client.on("warn", (e) => console.warn(e)); -client.on("debug", (e) => console.info(e)) + client.once('ready', () => { - console.log('All systems go.'); + 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); @@ -57,12 +63,13 @@ client.on('message', message => { 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, From a7494a74ea09e7b732030259fb92870da08b8497 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 12:19:07 -0600 Subject: [PATCH 066/164] Add files via upload --- commands/userinfo.js | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/commands/userinfo.js b/commands/userinfo.js index 1c429ba..4d2e9c2 100644 --- a/commands/userinfo.js +++ b/commands/userinfo.js @@ -4,26 +4,23 @@ module.exports = { description: "Gets info about an user, such as ID, Discord Join date and more.", execute(client, message, args) { + + + + + const user = message.mentions.users.first(); - for (var i=0;i Date: Sat, 6 Feb 2021 12:19:21 -0600 Subject: [PATCH 067/164] Delete userinfo.js --- userinfo.js | 67 ----------------------------------------------------- 1 file changed, 67 deletions(-) delete mode 100644 userinfo.js diff --git a/userinfo.js b/userinfo.js deleted file mode 100644 index 571e940..0000000 --- a/userinfo.js +++ /dev/null @@ -1,67 +0,0 @@ -module.exports = { - - name: "userinfo", - description: "Gets info about an user, such as ID, Discord Join date and more.", - execute(client, message, args) { - - - - - - - const user = message.mentions.users.first(); - var i=0;i Date: Sat, 6 Feb 2021 12:19:36 -0600 Subject: [PATCH 068/164] Add files via upload From 2b14ab9bd18f8f73f4fb43ccb0bfb52e5f77771c Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 6 Feb 2021 12:20:00 -0600 Subject: [PATCH 069/164] Delete ptb5.txt --- ptb5.txt | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 ptb5.txt diff --git a/ptb5.txt b/ptb5.txt deleted file mode 100644 index 41614e1..0000000 --- a/ptb5.txt +++ /dev/null @@ -1,10 +0,0 @@ -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 :eyes: -+ 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. From f3714c2c9a45081ce1ad62c17077ca4ecabe6355 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 9 Feb 2021 17:02:54 -0600 Subject: [PATCH 070/164] Update hug.js --- commands/hug.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/commands/hug.js b/commands/hug.js index 5719400..0204a1f 100644 --- a/commands/hug.js +++ b/commands/hug.js @@ -6,18 +6,16 @@ module.exports = { const messageAuthor = message.author const taggedUser = message.mentions.users.first(); const gifchoices = [ - "https://media1.tenor.com/images/684efd91473dcfab34cb78bf16d211cf/tenor.gif?itemid=14495459", - "https://cdn.lowgif.com/medium/d26c65f2d66be540-merriberri-graphic-arts-services-requests.gif", - "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://cdn.discordapp.com/attachments/803658122299572255/806775446095396915/hug.gif" + "https://cdn.discordapp.com/attachments/803658122299572255/807670647920001044/hug2.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807670797983285268/hug1.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807670951113392178/gif6.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/808834617494208532/gif3new.gif", + "https://cdn.discordapp.com/attachments/803658122299572255/807671126376972308/gif4.gif" ]; //--------------------------------- 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" @@ -35,7 +33,7 @@ module.exports = { // Checks if a user was mentioned. If not, returns error message. } - const index = Math.floor(Math.random() * (gifchoices.length - 1) + 2); + const index = Math.floor(Math.random() * (gifchoices.length - 1) + 0.4); var gif = (gifchoices[index]); const embed = { "title": " Hug", From 264f57ac536a474a12fbdcdd02ab0d659b3d8d54 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 11 Feb 2021 16:07:48 -0600 Subject: [PATCH 071/164] Update config.json --- config.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/config.json b/config.json index 9a2cc5f..85e3bc9 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,4 @@ { "prefix": "n!", - - "token": "", "ownerID": "309427567004483586" } From 726b4d7c7384e7f8781524b816faaaf49a8c2ade Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 11 Feb 2021 21:39:01 -0600 Subject: [PATCH 072/164] start now clears console on successful startup --- start.js | 193 +++++++++++++++++++++++++++---------------------------- 1 file changed, 96 insertions(+), 97 deletions(-) diff --git a/start.js b/start.js index a51d4c6..cb191f5 100644 --- a/start.js +++ b/start.js @@ -1,97 +1,96 @@ -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); +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 467"; +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.clear() + 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); From f9223985123cb4de19ef00ffb91e380c9f3dd5d1 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 12 Feb 2021 12:17:29 -0600 Subject: [PATCH 073/164] Delete statuses.json --- statuses.json | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 statuses.json diff --git a/statuses.json b/statuses.json deleted file mode 100644 index 217a100..0000000 --- a/statuses.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "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 - } -} \ No newline at end of file From 18bd7f0d8b152fef6a0e08e85d74e74273e46079 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 12 Feb 2021 12:18:27 -0600 Subject: [PATCH 074/164] Add new icons to JSON --- icons.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 icons.json diff --git a/icons.json b/icons.json new file mode 100644 index 0000000..39907aa --- /dev/null +++ b/icons.json @@ -0,0 +1,7 @@ +{ + "denied": "<:AnitroxDenied:809651936642203668>", + "error": "<:AnitroxError:809651936563429416> ", + "info": "<:AnitroxInfo:809651936831733791>", + "success": "<:AnitroxSuccess:809651936819019796>", + "warning": "<:AnitroxWarning:809651934717804555>" +} \ No newline at end of file From 78c0211992c2b032c355db84c64ae38d24381e4b Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 12 Feb 2021 12:22:15 -0600 Subject: [PATCH 075/164] Delete statuses.json --- statuses.json | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 statuses.json diff --git a/statuses.json b/statuses.json deleted file mode 100644 index 217a100..0000000 --- a/statuses.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "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 - } -} \ No newline at end of file From d92dbd91ace6032b4f619ea3d5a0551208664cbf Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 23 Feb 2021 00:18:07 -0600 Subject: [PATCH 076/164] Add cheese command, fix info --- commands/cheese.js | 33 +++++++++++++++++++++++++++++++++ commands/info.js | 6 +++--- 2 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 commands/cheese.js diff --git a/commands/cheese.js b/commands/cheese.js new file mode 100644 index 0000000..86891b5 --- /dev/null +++ b/commands/cheese.js @@ -0,0 +1,33 @@ +module.exports = { +//a + name: "cheese", + description: "Cheese an user, or run just ``n!cheese`` for a surprise :eyes:", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + //--------------------------------- + + + if(!taggedUser) { + return message.channel.send("*slams cheese on desk* Cheese. https://www.youtube.com/watch?v=Or4IE8fkpn4"); + + } + + + const embed = { + "title": ":cheese: Cheesed", + "description": "<@" + taggedUser + ">" + " You got cheesed by " + "<@" + messageAuthor + ">!", + "color": 8311585, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + }, + "image": { + "url": "https://cdn.discordapp.com/attachments/803658122299572255/812867714368536636/R06325af354168febcafd96b8328b7590.png" + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/commands/info.js b/commands/info.js index f96c97b..7f7c741 100644 --- a/commands/info.js +++ b/commands/info.js @@ -24,14 +24,14 @@ module.exports = { -const version = ("Public Test Release 4.1 (build 444)") +const version = ("Public Test Release 5 (build 465)") const release = ("anitrox_ptb") const os = require("os") const embed = { "title": "<:NyabotInfo:697145463350231040> Information about Anitrox", "description": "Everything you've ever wanted to know about Anitrox!", - "color": 11038194, + "color": 9442302, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021 " @@ -93,7 +93,7 @@ const version = ("Public Test Release 4.1 (build 444)") }, { "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" } ] From e30882b0550fdd52151cfa5fb8262ccb93e6b56f Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 24 Feb 2021 22:36:30 -0600 Subject: [PATCH 077/164] Move invite to a embed, update cheese embed color --- commands/cheese.js | 2 +- commands/invite.js | 24 +++++++++++++++++++++++- commands/setnick.js | 6 ++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 commands/setnick.js diff --git a/commands/cheese.js b/commands/cheese.js index 86891b5..2dff733 100644 --- a/commands/cheese.js +++ b/commands/cheese.js @@ -17,7 +17,7 @@ module.exports = { const embed = { "title": ":cheese: Cheesed", "description": "<@" + taggedUser + ">" + " You got cheesed by " + "<@" + messageAuthor + ">!", - "color": 8311585, + "color": 16312092, "footer": { "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" diff --git a/commands/invite.js b/commands/invite.js index 4a85195..462e819 100644 --- a/commands/invite.js +++ b/commands/invite.js @@ -4,6 +4,28 @@ module.exports = { name: 'invite', description: 'Sends invite to add the bot to a server.', execute(client, message) { - message.channel.send("PTB: https://discord.com/oauth2/authorize?client_id=489125054261755925&scope=bot&permissions=66186303"); + const embed = { + "title": "Add Anitrox to your Server", + "description": "Weather you want stable, or that squeaky clean fresh PTB build, we gotchu.", + "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": "https://cdn.discordapp.com/attachments/803658122299572255/814352905394061322/anitroxaddsrvr.png" + }, + "fields": [ + { + "name": "Anitrox", + "value": "This is the stable main build. \n https://discord.com/oauth2/authorize?client_id=576805923964715018&scope=bot&permissions=8" + }, + { + "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" + } + ] + }; + message.channel.send({ embed }); }, }; \ No newline at end of file diff --git a/commands/setnick.js b/commands/setnick.js new file mode 100644 index 0000000..6965e77 --- /dev/null +++ b/commands/setnick.js @@ -0,0 +1,6 @@ +module.exports = { + name: "setnick", + description: "Set yours or another users nickname." + execute(client, message, args) { + + \ No newline at end of file From 62338fff98f8c6531bf31e1d011e7260b59dd8fa Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 25 Feb 2021 00:48:40 -0600 Subject: [PATCH 078/164] Add avatar command --- commands/avatar.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 commands/avatar.js diff --git a/commands/avatar.js b/commands/avatar.js new file mode 100644 index 0000000..6703783 --- /dev/null +++ b/commands/avatar.js @@ -0,0 +1,21 @@ +module.exports = { + name: "avatar", + description: "Gets a users avatar.", + execute(client, message, args) { + const user = message.mentions.users.first() + + const embed = { + "title": ":frame_photo: " + user.username + "'s Avatar", + "description": "Here is " + user.username + "'s avatar!", + "color": 9442302, + "footer": { + "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", + "text": "Made with <3 in Illinois | Anitrox (C) 2018-2021 IDeletedSystem64" + }, + "image": { + "url": user.displayAvatarURL() + } + }; + message.channel.send({ embed }); + } +} From d62381d2b4067f669770e6bf85d9c59a42529604 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 25 Feb 2021 01:03:33 -0600 Subject: [PATCH 079/164] Update icons to new Anitrox themed icons. --- commands/8ball.js | 2 +- commands/bonk.js | 2 +- commands/cuddle.js | 3 +++ commands/help.js | 2 +- commands/hug.js | 2 +- commands/info.js | 9 ++++----- commands/invite.js | 9 +++++++++ commands/kiss.js | 2 +- commands/leskiss.js | 2 +- commands/lick.js | 2 +- commands/nom.js | 2 +- commands/pat.js | 2 +- commands/ping.js | 2 +- commands/poke.js | 2 +- commands/reload.js | 4 ++-- commands/restart.js | 2 +- commands/setnick.js | 8 ++++---- commands/slap.js | 2 +- commands/stop.js | 21 ++++++++++++++++++--- commands/userinfo.js | 8 +++++--- 20 files changed, 58 insertions(+), 30 deletions(-) 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 Date: Thu, 25 Feb 2021 10:11:54 -0600 Subject: [PATCH 080/164] Moved version and build to config file, edited start to support it. --- config.json | 6 +++++- start.js | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/config.json b/config.json index 85e3bc9..45fca20 100644 --- a/config.json +++ b/config.json @@ -1,4 +1,8 @@ { "prefix": "n!", - "ownerID": "309427567004483586" + + "token": "NTQwOTQxNjc5MDQ2Mjk1NTUz.XFR9Mg.MpSy0w6Gqy72nGsfIEH8opOGn8A", + "ownerID": "309427567004483586", + "release": "anitrox_ptb", + "build": "Public Test Release 6, build 493" } diff --git a/start.js b/start.js index cb191f5..b082155 100644 --- a/start.js +++ b/start.js @@ -1,10 +1,10 @@ console.log('Preparing to start!') const fs = require('fs'); const Discord = require('discord.js'); -const { prefix, token } = require('./config.json'); +const { build, release, prefix, token } = require('./config.json'); +const { denied, error, info, success, warning } = require('./icons.json'); const os = require("os"); -const version = "build 467"; -const release = "anitrox_ptb" + const activities_list = [ "with np!help", "Where am I?", @@ -18,7 +18,7 @@ const activities_list = [ "on Sophie's main PC- wait shoot she's coming", "btw I use Debian linux", "Watching you", - "Running " + release + " Version " + version, + "Running " + release + " Version " + build, "in Incognito Mode- wait what", "uwu", "Team Fortress 2 with Sophie", From bb7f7be3058b8b6405a340805826c89dfdd82dfb Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 25 Feb 2021 10:12:23 -0600 Subject: [PATCH 081/164] Update info to use the new config, add more CPU info. --- commands/info.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/commands/info.js b/commands/info.js index cd8045d..c051e9a 100644 --- a/commands/info.js +++ b/commands/info.js @@ -3,7 +3,8 @@ module.exports = { name: 'info', description: 'Shows bot and host information', - execute(client, message, args) { + execute(client, message, args,) { + const { build, release } = require('../config.json'); function Uptime(uptimetype) { let totalSeconds = (uptimetype / 1000); @@ -22,11 +23,10 @@ module.exports = { return uptime; }; - -const user = ("309427567004483586") -const version = ("Public Test Release 6 (build 493)") - const release = ("anitrox_ptb") + const os = require("os") + var osu = require('node-os-utils') + var cpu = osu.cpu const embed = { "title": "<:AnitroxInfo:809651936831733791> Information about Anitrox", "description": "Everything you've ever wanted to know about Anitrox!", @@ -36,7 +36,7 @@ const version = ("Public Test Release 6 (build 493)") "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021 " }, "thumbnail": { - "url": ("https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png") + "url": ("https://cdn.discordapp.com/avatars/576805923964715018/20f9b2815850dbbebd6d858308c90330.webp") }, "fields": [ { @@ -49,7 +49,7 @@ const version = ("Public Test Release 6 (build 493)") }, { "name": "Release Version", - "value": version + "value": build }, { "name": "Uptime", @@ -69,7 +69,7 @@ const version = ("Public Test Release 6 (build 493)") }, { "name": "<:cpu:793672442056802354> CPU Type", - "value": process.arch + "value": process.arch + ", " + cpu.model() }, { From 6a8559b33fb9d0eed508d0659025bcfb6a3567f5 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 25 Feb 2021 21:58:39 -0600 Subject: [PATCH 082/164] Create entirely new stop command. --- commands/stop.js | 49 +++++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/commands/stop.js b/commands/stop.js index 66a2a74..fce8ae6 100644 --- a/commands/stop.js +++ b/commands/stop.js @@ -1,28 +1,31 @@ - module.exports = { - name: 'stop', - description: '(Owner Only) Shuts down the bot.', - execute( client, message, args, denied) { + name: "stop", + description: "Stops the bot", + execute(client, message, args) { if (message.author.id == 309427567004483586) { - message.channel.send(" The bot is stopping!") - .then + const embed = { + "title": ":AnitroxWorking: **Shutting Down...**", + "description": "See you next time!", + "color": 9442302, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + } + }; + message.channel.send({ embed }); client.destroy() - .catch(console.error) + process.exit() } else { - 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 }); + const denied = { + "title": ":AnitroxDenied: Access Denied", + "description": "You need to be the bot owner to execute this command!", + "color": 13632027, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + } + }; + message.channel.send({ denied }); + } } - }} \ No newline at end of file + } \ No newline at end of file From ca6161933dd6e43659b25fa5c8656b0a4b9cd197 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 25 Feb 2021 22:10:17 -0600 Subject: [PATCH 083/164] final version of stop --- commands/stop.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/commands/stop.js b/commands/stop.js index fce8ae6..7b3fe5f 100644 --- a/commands/stop.js +++ b/commands/stop.js @@ -4,7 +4,7 @@ module.exports = { execute(client, message, args) { if (message.author.id == 309427567004483586) { const embed = { - "title": ":AnitroxWorking: **Shutting Down...**", + "title": " **Shutting Down...**", "description": "See you next time!", "color": 9442302, "footer": { @@ -13,8 +13,9 @@ module.exports = { } }; message.channel.send({ embed }); - client.destroy() - process.exit() + setTimeout(function(){ + client.destroy() + }, 5000); } else { const denied = { "title": ":AnitroxDenied: Access Denied", From 6fd891b6365d2c8e404b50cc266e431a503122b7 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sun, 28 Feb 2021 00:39:52 -0600 Subject: [PATCH 084/164] honestly. i dont know what im doing send help --- commands/setnick.js | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/commands/setnick.js b/commands/setnick.js index bbe388e..dadccff 100644 --- a/commands/setnick.js +++ b/commands/setnick.js @@ -1,6 +1,13 @@ -//module.exports = { -// name: "setnick", -// description: "Set yours or another users nickname." -// execute(client, message, args) { - - \ No newline at end of file +const { DiscordAPIError } = require("discord.js") + +module.exports = { + name: "setnick", + description: "Set yours or another users nickname.", + execute(client, message, args) { + const guild = guild.fetch + const member = guild.member(message.author) + if (guild.member.hasPermission('CHANGE_NICKNAME')) { + message.channel.send("yes") + } else { + message.channel.send("no") + }}} From 2f705a30033f40cdc49e7d003deb6dc3acf996d1 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 4 Mar 2021 22:33:44 -0600 Subject: [PATCH 085/164] Begin work on a properly working setnick --- commands/8ball.js | 12 ++++++++++++ commands/setnick.js | 22 +++++++++++----------- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/commands/8ball.js b/commands/8ball.js index 1241877..4c324d1 100644 --- a/commands/8ball.js +++ b/commands/8ball.js @@ -18,6 +18,17 @@ module.exports = { var answer = (answers[index]); console.log(args); + if (!question) { + const embed = { + "title": "<:AnitroxError:809651936563429416> Well that happened...", + "description": "You need to specify a question!", + "color": 13632027, + "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" + } + } + } const embed = { "title": ":8ball: Anitrox 8 Ball", "description": "Your question: **" + question + "**", @@ -35,5 +46,6 @@ module.exports = { ] }; message.channel.send({ embed }); + } } \ No newline at end of file diff --git a/commands/setnick.js b/commands/setnick.js index dadccff..2a1dd30 100644 --- a/commands/setnick.js +++ b/commands/setnick.js @@ -1,13 +1,13 @@ -const { DiscordAPIError } = require("discord.js") - module.exports = { - name: "setnick", - description: "Set yours or another users nickname.", - execute(client, message, args) { - const guild = guild.fetch - const member = guild.member(message.author) - if (guild.member.hasPermission('CHANGE_NICKNAME')) { - message.channel.send("yes") + name: 'setnick', + description: 'Sets yours or another users nickname', + execute(client, message, args,) { + new Discord.GuildMember(data, guild); + const guild = guild.fetch + const member = guild.member(message.author) + if (message.channel.permissionsFor(message.author).has("CHANGE_NICKNAME")){ + } else { - message.channel.send("no") - }}} + message.channel.send("no permission") + } +}} \ No newline at end of file From 83b79e1dd531728e9aaeba746576c6e57d35efdb Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 12 Mar 2021 10:46:52 -0600 Subject: [PATCH 086/164] Anitrox Stable Release Canidiate 1 --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 45fca20..4c9803a 100644 --- a/config.json +++ b/config.json @@ -4,5 +4,5 @@ "token": "NTQwOTQxNjc5MDQ2Mjk1NTUz.XFR9Mg.MpSy0w6Gqy72nGsfIEH8opOGn8A", "ownerID": "309427567004483586", "release": "anitrox_ptb", - "build": "Public Test Release 6, build 493" + "build": "Anitrox Stable Release Canidiate 1" } From 446a38f31adb951a01ef267a8302c1b1a120a6d0 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 12 Mar 2021 10:52:40 -0600 Subject: [PATCH 087/164] Bot release + build is now shown on startup --- start.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/start.js b/start.js index b082155..ddf69d1 100644 --- a/start.js +++ b/start.js @@ -25,7 +25,11 @@ const activities_list = [ "videos on Hulu", "American Truck Simulator", "with my users!", - "with Sophies skirt" + "with Sophies skirt", + "Euro Truck Simulator 2", + "with a screwdriver", + "Found new hardware.", + "@everyone" ]; console.log('Starting! This should only take a moment.') @@ -51,7 +55,7 @@ client.once('ready', () => { console.log(' / /| | / __ \/ / __/ ___/ __ \| |/_/'); console.log(' / ___ |/ / / / / /_/ / / /_/ /> < '); console.log('/_/ |_/_/ /_/_/\__/_/ \____/_/|_| ') - + console.log(release + " " + build) console.log('All Systems Go. | Anitrox (C) 2021 IDeletedSystem64.'); }); setInterval(() => { From 2f9cc0563b36112db0cc366564daa1b65ccbde98 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 12 Mar 2021 10:57:13 -0600 Subject: [PATCH 088/164] Fix setnick permission issue --- commands/setnick.js | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/commands/setnick.js b/commands/setnick.js index 2a1dd30..ad9d002 100644 --- a/commands/setnick.js +++ b/commands/setnick.js @@ -1,13 +1,10 @@ module.exports = { name: 'setnick', - description: 'Sets yours or another users nickname', - execute(client, message, args,) { - new Discord.GuildMember(data, guild); - const guild = guild.fetch - const member = guild.member(message.author) - if (message.channel.permissionsFor(message.author).has("CHANGE_NICKNAME")){ - - } else { - message.channel.send("no permission") - } + description: 'i genuinely fucking dont know. :SylvPain:', + execute(client, message, args, Discord) { + if (message.channel.permissionsFor(message.author).has("CHANGE_NICKNAME")) { + message.channel.send("meow") + } else { + message.channel.send("no permission") + }; }} \ No newline at end of file From aa151890e620a1f9aa09684fd1b84b4285236011 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 12 Mar 2021 12:28:58 -0600 Subject: [PATCH 089/164] Update setnick,js --- commands/setnick.js | 47 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/commands/setnick.js b/commands/setnick.js index ad9d002..4445797 100644 --- a/commands/setnick.js +++ b/commands/setnick.js @@ -1,10 +1,51 @@ +const { GuildMember } = require("discord.js"); + module.exports = { name: 'setnick', - description: 'i genuinely fucking dont know. :SylvPain:', + description: 'Sets your nickname', execute(client, message, args, Discord) { if (message.channel.permissionsFor(message.author).has("CHANGE_NICKNAME")) { - message.channel.send("meow") + var newnick = args.slice(0).join(" ") + const successembed = { + "title": "<:AnitroxSuccess:809651936819019796> Nickname Changed", + "color": 9442302, + "footer": { + "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Changed nickname successfully!", + "value": "You need to have permission ``CHANGE_NICKNAME`` to change your nick!" + }, + { + "name": "Old Nickname", + "value": "oldnick", + "inline": true + }, + { + "name": "New Nickname", + "value": newnick, + "inline": true + } + ] + }; + GuildMember.setNickname(newnick, "Nickname change requested by a server member. If you don't want users to be able to change their nickname disable 'CHANGE_NICKNAME' via Change Nickname in Roles.") } else { - message.channel.send("no permission") + const failembed = { + "title": "<:AnitroxDenied:809651936642203668> Well that happened...", + "color": 13632027, + "footer": { + "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Failed to set nickname", + "value": "You need to have permission ``CHANGE_NICKNAME`` to change your nick!" + } + ] + }; + message.channel.send({ failembed }); }; }} \ No newline at end of file From b09f4ca31acea9f5250ab4d2a1f52cc20c0b57af Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 16 Mar 2021 13:24:51 -0500 Subject: [PATCH 090/164] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3c0dd2..34a8bf6 100644 --- a/README.md +++ b/README.md @@ -1,3 +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. +This is for the dev branch of the bot, The bot can be used in the Support/Development server. From 75fe3064abe2fd4ae33f9c8e1fee430357b648d4 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 16 Mar 2021 17:09:00 -0500 Subject: [PATCH 091/164] Fixed an issue in cmd handler that broke everything. --- start.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/start.js b/start.js index ddf69d1..f460495 100644 --- a/start.js +++ b/start.js @@ -72,11 +72,11 @@ client.on('message', message => { if (!client.commands.has(command)) return; try { - client.commands.get(command).execute(client, message, args); + client.commands.get(command).execute(client, message, args, Discord); } catch (error) { console.error const embed = { - "title": "<:NyabotError:697145462347661412> **Well that happened...**", + "title": "<:AnitroxError:809651936563429416> **Well that happened...**", "color": 13632027, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -89,7 +89,7 @@ client.on('message', message => { }, { "name": "Error Info", - "value": error.message + "value": error.stack } ] }; From 64a1655ab9a171b8b19ee96e43966a66aaed2b4f Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 16 Mar 2021 17:18:18 -0500 Subject: [PATCH 092/164] Update setnick to a (mostly) working version --- commands/setnick.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/commands/setnick.js b/commands/setnick.js index 4445797..5aa41a6 100644 --- a/commands/setnick.js +++ b/commands/setnick.js @@ -4,8 +4,10 @@ module.exports = { name: 'setnick', description: 'Sets your nickname', execute(client, message, args, Discord) { + if (message.channel.permissionsFor(message.author).has("CHANGE_NICKNAME")) { var newnick = args.slice(0).join(" ") + const successembed = { "title": "<:AnitroxSuccess:809651936819019796> Nickname Changed", "color": 9442302, @@ -18,11 +20,6 @@ module.exports = { "name": "Changed nickname successfully!", "value": "You need to have permission ``CHANGE_NICKNAME`` to change your nick!" }, - { - "name": "Old Nickname", - "value": "oldnick", - "inline": true - }, { "name": "New Nickname", "value": newnick, @@ -30,7 +27,7 @@ module.exports = { } ] }; - GuildMember.setNickname(newnick, "Nickname change requested by a server member. If you don't want users to be able to change their nickname disable 'CHANGE_NICKNAME' via Change Nickname in Roles.") + message.member.setNickname(newnick, "Nickname change requested by the server member. If you don't want users to be able to change their nickname disable 'CHANGE_NICKNAME' via Change Nickname in Roles.") } else { const failembed = { "title": "<:AnitroxDenied:809651936642203668> Well that happened...", From 37f45c6d0677c3a1a08f66dff023b9a3d210663d Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 16 Mar 2021 17:50:29 -0500 Subject: [PATCH 093/164] Update setnick --- commands/setnick.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/setnick.js b/commands/setnick.js index 5aa41a6..dc83b26 100644 --- a/commands/setnick.js +++ b/commands/setnick.js @@ -8,6 +8,7 @@ module.exports = { if (message.channel.permissionsFor(message.author).has("CHANGE_NICKNAME")) { var newnick = args.slice(0).join(" ") + try { const successembed = { "title": "<:AnitroxSuccess:809651936819019796> Nickname Changed", "color": 9442302, @@ -28,7 +29,7 @@ module.exports = { ] }; message.member.setNickname(newnick, "Nickname change requested by the server member. If you don't want users to be able to change their nickname disable 'CHANGE_NICKNAME' via Change Nickname in Roles.") - } else { + } catch (error) { const failembed = { "title": "<:AnitroxDenied:809651936642203668> Well that happened...", "color": 13632027, @@ -45,4 +46,4 @@ module.exports = { }; message.channel.send({ failembed }); }; -}} \ No newline at end of file +}}} \ No newline at end of file From 4935cf3d4326c09b54e17c2a2a56a1d8bf4f3358 Mon Sep 17 00:00:00 2001 From: TheCodingGuy Date: Fri, 19 Mar 2021 00:50:30 -0400 Subject: [PATCH 094/164] Fix setnick.js yeah.. I fixed it? yaay!? --- commands/setnick.js | 84 ++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/commands/setnick.js b/commands/setnick.js index dc83b26..19a9b0f 100644 --- a/commands/setnick.js +++ b/commands/setnick.js @@ -1,49 +1,49 @@ -const { GuildMember } = require("discord.js"); - module.exports = { name: 'setnick', description: 'Sets your nickname', - execute(client, message, args, Discord) { + execute(client, message, args) { if (message.channel.permissionsFor(message.author).has("CHANGE_NICKNAME")) { - var newnick = args.slice(0).join(" ") + var newnick = args.slice(0).join(" ") - try { - const successembed = { - "title": "<:AnitroxSuccess:809651936819019796> Nickname Changed", - "color": 9442302, - "footer": { - "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", - "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" - }, - "fields": [ - { - "name": "Changed nickname successfully!", - "value": "You need to have permission ``CHANGE_NICKNAME`` to change your nick!" - }, - { - "name": "New Nickname", - "value": newnick, - "inline": true - } - ] - }; - message.member.setNickname(newnick, "Nickname change requested by the server member. If you don't want users to be able to change their nickname disable 'CHANGE_NICKNAME' via Change Nickname in Roles.") - } catch (error) { - const failembed = { - "title": "<:AnitroxDenied:809651936642203668> Well that happened...", - "color": 13632027, - "footer": { - "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", - "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" - }, - "fields": [ - { - "name": "Failed to set nickname", - "value": "You need to have permission ``CHANGE_NICKNAME`` to change your nick!" - } - ] - }; - message.channel.send({ failembed }); + try { + const successembed = { + "title": "<:AnitroxSuccess:809651936819019796> Nickname Changed", + "color": 9442302, + "footer": { + "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Changed nickname successfully!", + "value": "You need to have permission ``CHANGE_NICKNAME`` to change your nick!" + }, + { + "name": "New Nickname", + "value": newnick, + "inline": true + } + ] + }; + message.member.setNickname(newnick, "Nickname change requested by the server member. If you don't want users to be able to change their nickname disable 'CHANGE_NICKNAME' via Change Nickname in Roles.") + message.channel.send({ embed: successembed }); + } catch (error) { + const failembed = { + "title": "<:AnitroxDenied:809651936642203668> Well that happened...", + "color": 13632027, + "footer": { + "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", + "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + }, + "fields": [ + { + "name": "Failed to set nickname", + "value": "You need to have permission ``CHANGE_NICKNAME`` to change your nick!" + } + ] + }; + message.channel.send({ embed: failembed }); + }; }; -}}} \ No newline at end of file +}}} From 01f2d33da5fd3d205481134bde9d60481e999fea Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 19 Mar 2021 10:08:26 -0500 Subject: [PATCH 095/164] Remove Token --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 4c9803a..258db82 100644 --- a/config.json +++ b/config.json @@ -1,7 +1,7 @@ { "prefix": "n!", - "token": "NTQwOTQxNjc5MDQ2Mjk1NTUz.XFR9Mg.MpSy0w6Gqy72nGsfIEH8opOGn8A", + "token": "token", "ownerID": "309427567004483586", "release": "anitrox_ptb", "build": "Anitrox Stable Release Canidiate 1" From eecfe9fef8ea863dfee7a0c47f082b28be2e0840 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 19 Mar 2021 11:00:30 -0500 Subject: [PATCH 096/164] Removed a curly bracket that caused crash on start --- commands/setnick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/setnick.js b/commands/setnick.js index 19a9b0f..438a4f4 100644 --- a/commands/setnick.js +++ b/commands/setnick.js @@ -46,4 +46,4 @@ module.exports = { message.channel.send({ embed: failembed }); }; }; -}}} +}} From d5a1e5835e4fd8901c5597f14a9d964980caa958 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 19 Mar 2021 11:23:33 -0500 Subject: [PATCH 097/164] Update setnick.js --- commands/setnick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/setnick.js b/commands/setnick.js index 438a4f4..99afa6b 100644 --- a/commands/setnick.js +++ b/commands/setnick.js @@ -11,7 +11,7 @@ module.exports = { "title": "<:AnitroxSuccess:809651936819019796> Nickname Changed", "color": 9442302, "footer": { - "icon_url": "https://cdn.discordapp.com/embed/avatars/0.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" }, "fields": [ From f99a3e338df14b43fa87eb66cb8839401f40c037 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 20 Mar 2021 13:17:13 -0500 Subject: [PATCH 098/164] Open Source legacy builds, add command for links. --- commands/opensource.js | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 commands/opensource.js diff --git a/commands/opensource.js b/commands/opensource.js new file mode 100644 index 0000000..ad58721 --- /dev/null +++ b/commands/opensource.js @@ -0,0 +1,35 @@ +module.exports = { + name: "opensource", + description: "Get the source for the original Anitrox code!", + execute(client, message, args) { + const embed = { + "title": "<:AnitroxInfo:809651936831733791> Anitrox Source", + "description": "These legacy builds are **!!NOT!!** supported and are considered discontinued. Some of this legacy code may still be in use but is being replaced with more up-to-date and usable code.", + "url": "https://discordapp.com", + "color": 9442302, + "footer": { + "icon_url": "https://cdn.discordapp.com/emojis/809651936819019796.png?v=1", + "text": "Released under GPLv3 licese. " + }, + "thumbnail": { + "url": "https://cdn.discordapp.com/attachments/793537380330111028/822894433665810432/nyabotanitrox.png" + }, + "fields": [ + { + "name": "anitroxlegacy_v1/nyabotv1", + "value": "https://github.com/IDeletedSystem64/anitroxlegacy" + }, + { + "name": "anitroxlegacy_v3/projectcanary (Nyabot 3.0)", + "value": "https://github.com/IDeletedSystem64/anitroxlegacyv3" + }, + { + "name": "License Type", + "value": "This is released under the GNU Public License v3. You are allowed to modify, rewrite, expand on the code as you wish. You don't need to provide me credit on your projects involving this code. Learn more at http://www.gnu.org/licenses/gpl-3.0.html", + "inline": true + } + ] + }; + message.channel.send({ embed }); + } +} \ No newline at end of file From 2e1e1e58a9cbd2d1fd2e07dadefddcb3ae2d142c Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sat, 20 Mar 2021 13:17:42 -0500 Subject: [PATCH 099/164] Delete ban.js --- commands/ban.js | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 commands/ban.js diff --git a/commands/ban.js b/commands/ban.js deleted file mode 100644 index c8549fb..0000000 --- a/commands/ban.js +++ /dev/null @@ -1,31 +0,0 @@ -const { GuildMember } = require("discord.js"); - -module.exports = { - name: "ban", - description: "Bans an user, This requires that you have ``BAN_MEMBERS`` or ``ADMINISTRATOR``", - execute(client, message, args) { - const banembed = { - "title": "<:usersuccess:793885338250641469> User Banned", - "description": "User ${user.tag} was banned!", - "color": 5736060, - "fields": [ - { - "name": "Reason", - "value": "reason" - } - ] - }; - const user = message.mentions.users.first(); - if (user) { - const member = message.guild.member(user); - if (member) { - member - .ban({ - reason: 'reason', - }) - .then(() => - - message.channel.send("bye lmao")); - - } - }}} \ No newline at end of file From 3272e3360f023ee964b4712e5eceb47ce1f0848b Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 30 Mar 2021 00:16:44 -0500 Subject: [PATCH 100/164] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 34a8bf6..6282ae6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# Anitrox Dev -# aka anitrox_unstable -This is for the dev branch of the bot, The bot can be used in the Support/Development server. +# Anitrox Dev Branch +# anitrox_unstable +This is for the ultra-fresh builds of Anitrox and is **very** unstable. It is only avaliable in Anitrox Central. From 852d4f0db10d7bcc9e635e405353da8d6c391d7c Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 7 May 2021 10:14:23 -0500 Subject: [PATCH 101/164] Add support information to anitrox-dev README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6282ae6..02df974 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # Anitrox Dev Branch # anitrox_unstable This is for the ultra-fresh builds of Anitrox and is **very** unstable. It is only avaliable in Anitrox Central. +# These builds are UNSUPPORTED and you will not be able to recieve support if there's a problem. It's best you wait for a new build if you're having a problem. From 10198822c0a915e7d5d0557d08d1ee8112752620 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 7 May 2021 10:15:46 -0500 Subject: [PATCH 102/164] Add attributions for opensource components (opensource.js) --- commands/opensource.js | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/commands/opensource.js b/commands/opensource.js index ad58721..03acef4 100644 --- a/commands/opensource.js +++ b/commands/opensource.js @@ -1,35 +1,28 @@ module.exports = { - name: "opensource", - description: "Get the source for the original Anitrox code!", - execute(client, message, args) { + name: 'opensource', + description: 'Attributions to open source components used by Anitrox', + execute(client, message, args){ const embed = { - "title": "<:AnitroxInfo:809651936831733791> Anitrox Source", - "description": "These legacy builds are **!!NOT!!** supported and are considered discontinued. Some of this legacy code may still be in use but is being replaced with more up-to-date and usable code.", - "url": "https://discordapp.com", - "color": 9442302, + "title": "Component Attribution", + "description": "Some parts of Anitrox are using open source code, and their attributions are avaliable here!", + "color": 52508, "footer": { - "icon_url": "https://cdn.discordapp.com/emojis/809651936819019796.png?v=1", - "text": "Released under GPLv3 licese. " + "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 by IDeletedSystem64" }, "thumbnail": { - "url": "https://cdn.discordapp.com/attachments/793537380330111028/822894433665810432/nyabotanitrox.png" + "url": "https://cdn.discordapp.com/attachments/803658122299572255/838854256471703602/793885335498522685.png" }, "fields": [ { - "name": "anitroxlegacy_v1/nyabotv1", - "value": "https://github.com/IDeletedSystem64/anitroxlegacy" + "name": "Discord.JS", + "value": "[Check out the Discord.JS project on GitHub](https://github.com/discordjs/discord.js/)" }, { - "name": "anitroxlegacy_v3/projectcanary (Nyabot 3.0)", - "value": "https://github.com/IDeletedSystem64/anitroxlegacyv3" - }, - { - "name": "License Type", - "value": "This is released under the GNU Public License v3. You are allowed to modify, rewrite, expand on the code as you wish. You don't need to provide me credit on your projects involving this code. Learn more at http://www.gnu.org/licenses/gpl-3.0.html", - "inline": true + "name": "You", + "value": "Using and supporting the Anitrox Project, thank you! ❤" } ] }; message.channel.send({ embed }); - } -} \ No newline at end of file + }} \ No newline at end of file From b6989333da2caf1de81231e67eef8f06d0ec3d5f Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 7 May 2021 10:50:08 -0500 Subject: [PATCH 103/164] Add addstatus.js --- commands/addstatus.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 commands/addstatus.js diff --git a/commands/addstatus.js b/commands/addstatus.js new file mode 100644 index 0000000..2469412 --- /dev/null +++ b/commands/addstatus.js @@ -0,0 +1,26 @@ +const { Message } = require('discord.js'); +const fs = require('fs'); +module.exports = { + name: 'addstatus', + description: 'Adds a new custom status to Anitrox', + async execute(message, args) { + const embed = { + "title": "<:AnitroxSuccess:809651936819019796> Status Added", + "color": 3585665, + "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 by IDeletedSystem64" + }, + "fields": [ + { + "name": "Successfully added status!", + "value": "Added status " + args.slice(0,2) + } + ] + }; + const statuses = JSON.parse((await fs.promises.readFile('./statuses.json')).toString()) + statuses.push(args.slice(0,2)) + await fs.promises.writeFile('./statuses.json', JSON.stringify(ranges)); + Message.channel.send( {embed} ) + } + } \ No newline at end of file From 2837b1c63796c2588d8b3c135c05e3434b46aeb4 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 7 May 2021 11:22:40 -0500 Subject: [PATCH 104/164] Fix the footer for avatar I've had this fixed for god knows how long now and am only now getting it uploaded wtf --- commands/avatar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/avatar.js b/commands/avatar.js index 6703783..061104c 100644 --- a/commands/avatar.js +++ b/commands/avatar.js @@ -9,8 +9,8 @@ module.exports = { "description": "Here is " + user.username + "'s avatar!", "color": 9442302, "footer": { - "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", - "text": "Made with <3 in Illinois | Anitrox (C) 2018-2021 IDeletedSystem64" + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" }, "image": { "url": user.displayAvatarURL() From 16a08c6d6dd295fe905e9d886c9db5a3b8cd66ad Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 7 May 2021 11:27:02 -0500 Subject: [PATCH 105/164] Update opensource attributions Added Anitrox GitHub as Anitrox is now open source. --- commands/opensource.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/opensource.js b/commands/opensource.js index 03acef4..946ecab 100644 --- a/commands/opensource.js +++ b/commands/opensource.js @@ -18,6 +18,10 @@ module.exports = { "name": "Discord.JS", "value": "[Check out the Discord.JS project on GitHub](https://github.com/discordjs/discord.js/)" }, + { + "name": "The Anitrox Project", + "value": "[Check out Anitrox on GitHub](https://github.com/IDeletedSystem64/anitrox)" + }, { "name": "You", "value": "Using and supporting the Anitrox Project, thank you! ❤" From c07daa81cff307760edf6a9edd8df142ab34ddc3 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 7 May 2021 11:28:36 -0500 Subject: [PATCH 106/164] Update config.json --- config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index 258db82..44924b2 100644 --- a/config.json +++ b/config.json @@ -3,6 +3,6 @@ "token": "token", "ownerID": "309427567004483586", - "release": "anitrox_ptb", - "build": "Anitrox Stable Release Canidiate 1" + "release": "anitrox_dev", + "build": "Anitrox Stable Release Canidiate 2" } From 343fd1895e47a02db99d80d726e59dd62a520bc6 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 8 Jun 2021 21:25:37 -0500 Subject: [PATCH 107/164] Added some logging for stuff on boot --- start.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/start.js b/start.js index f460495..d913f51 100644 --- a/start.js +++ b/start.js @@ -1,9 +1,12 @@ -console.log('Preparing to start!') +console.log('(Info) Preparing to start!') const fs = require('fs'); +console.log('(Info) Loaded Filesystem successfully!') const Discord = require('discord.js'); +console.log('(Info) Loaded Discord successfully!') const { build, release, prefix, token } = require('./config.json'); const { denied, error, info, success, warning } = require('./icons.json'); const os = require("os"); +console.log('(Info) Loaded OS successfully!') const activities_list = [ "with np!help", @@ -25,7 +28,6 @@ const activities_list = [ "videos on Hulu", "American Truck Simulator", "with my users!", - "with Sophies skirt", "Euro Truck Simulator 2", "with a screwdriver", "Found new hardware.", @@ -36,7 +38,7 @@ 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 footer = "Made with ❤ in Illinois | Anitrox, by IDeletedSystem64" const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); @@ -55,8 +57,8 @@ client.once('ready', () => { console.log(' / /| | / __ \/ / __/ ___/ __ \| |/_/'); console.log(' / ___ |/ / / / / /_/ / / /_/ /> < '); console.log('/_/ |_/_/ /_/_/\__/_/ \____/_/|_| ') - console.log(release + " " + build) - console.log('All Systems Go. | Anitrox (C) 2021 IDeletedSystem64.'); + console.log(release + ", " + build) + console.log("All Systems Go. | Anitrox by IDeletedSystem64 | We're now open-source! Check it out at bit.ly/anitroxsource"); }); setInterval(() => { const index = Math.floor(Math.random() * (activities_list.length - 1) + 1); @@ -74,13 +76,13 @@ client.on('message', message => { try { client.commands.get(command).execute(client, message, args, Discord); } catch (error) { - console.error + console.stack const embed = { "title": "<:AnitroxError:809651936563429416> **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." + "text": footer }, "fields": [ { From 4b63a6013ab0722e7f5a0d44020fca82f1d46623 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 10 Jun 2021 13:19:35 -0500 Subject: [PATCH 108/164] Update dependencies to new versions --- package-lock.json | 334 +++++++++++++++++++++++++++++++--------------- package.json | 2 +- 2 files changed, 226 insertions(+), 110 deletions(-) diff --git a/package-lock.json b/package-lock.json index 60bb6db..69352da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,65 +5,141 @@ "requires": true, "packages": { "": { - "name": "nyabotcanary", + "name": "projectanitrox", "version": "1.0.0", "license": "ISC", "dependencies": { - "discord.js": "^11.5.1", + "discord.js": "^12.5.1", "node-os-utils": "^1.3.2", "require-all": "^3.0.0" } }, - "node_modules/@discordjs/uws": { - "version": "10.149.0", - "resolved": "https://registry.npmjs.org/@discordjs/uws/-/uws-10.149.0.tgz", - "integrity": "sha512-N1wjoAD2DOgzevqzyTOWTgyO2divX03JWNQx4JHm/jQ/BRzZNkhwVRO3RC5Guww+srdgs4Tw4gwrzlJrlOhq/Q==", - "hasInstallScript": true, - "peer": true, + "node_modules/@discordjs/collection": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.1.6.tgz", + "integrity": "sha512-utRNxnd9kSS2qhyivo9lMlt5qgAUasH2gb7BEOn6p0efFh24gjGomHzWKMAPn2hEReOPQZCJaRKoURwRotKucQ==" + }, + "node_modules/@discordjs/form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@discordjs/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-ZfFsbgEXW71Rw/6EtBdrP5VxBJy4dthyC0tpQKGKmYFImlmmrykO14Za+BiIVduwjte0jXEBlhSKf0MWbFp9Eg==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, "engines": { - "node": ">=6.0.0" + "node": ">= 6" } }, - "node_modules/async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "node_modules/discord.js": { - "version": "11.6.4", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-11.6.4.tgz", - "integrity": "sha512-cK6rH1PuGjSjpmEQbnpuTxq1Yv8B89SotyKUFcr4RhnsiZnfBfDOev7DD7v5vhtEyyj51NuMWFoRJzgy/m08Uw==", + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", "dependencies": { - "long": "^4.0.0", - "prism-media": "^0.0.4", - "snekfetch": "^3.6.4", - "tweetnacl": "^1.0.0", - "ws": "^6.0.0" + "event-target-shim": "^5.0.0" }, "engines": { - "node": ">=6.0.0" + "node": ">=6.5" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/discord.js": { + "version": "12.5.3", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.5.3.tgz", + "integrity": "sha512-D3nkOa/pCkNyn6jLZnAiJApw2N9XrIsXUAdThf01i7yrEuqUmDGc7/CexVWwEcgbQR97XQ+mcnqJpmJ/92B4Aw==", + "dependencies": { + "@discordjs/collection": "^0.1.6", + "@discordjs/form-data": "^3.0.1", + "abort-controller": "^3.0.0", + "node-fetch": "^2.6.1", + "prism-media": "^1.2.9", + "setimmediate": "^1.0.5", + "tweetnacl": "^1.0.3", + "ws": "^7.4.4" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/mime-db": { + "version": "1.48.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", + "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.31", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", + "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", + "dependencies": { + "mime-db": "1.48.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", + "engines": { + "node": "4.x || >=6.0.0" + } + }, + "node_modules/node-os-utils": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/node-os-utils/-/node-os-utils-1.3.5.tgz", + "integrity": "sha512-bIJIlk+hA+7/ATnu3sQMtF697iw9T/JksDhKMe9uENG0OhzIG7hLM6fbcyu18bOuajlYWnSlj0IhDo2q7k0ebg==" + }, + "node_modules/prism-media": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.2.9.tgz", + "integrity": "sha512-UHCYuqHipbTR1ZsXr5eg4JUmHER8Ss4YEb9Azn+9zzJ7/jlTtD1h0lc4g6tNx3eMlB8Mp6bfll0LPMAV4R6r3Q==", "peerDependencies": { - "@discordjs/opus": "^0.1.0", - "@discordjs/uws": "^10.149.0", - "bufferutil": "^4.0.0", - "erlpack": "discordapp/erlpack", - "libsodium-wrappers": "^0.7.3", - "node-opus": "^0.2.7", - "opusscript": "^0.0.6", - "sodium": "^2.0.3" + "@discordjs/opus": "^0.5.0", + "ffmpeg-static": "^4.2.7 || ^3.0.0 || ^2.4.0", + "node-opus": "^0.3.3", + "opusscript": "^0.0.8" }, "peerDependenciesMeta": { "@discordjs/opus": { "optional": true }, - "bufferutil": { - "optional": true - }, - "erlpack": { - "optional": true - }, - "libsodium-wrappers": { + "ffmpeg-static": { "optional": true }, "node-opus": { @@ -71,30 +147,9 @@ }, "opusscript": { "optional": true - }, - "sodium": { - "optional": true - }, - "uws": { - "optional": true } } }, - "node_modules/long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" - }, - "node_modules/node-os-utils": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/node-os-utils/-/node-os-utils-1.3.2.tgz", - "integrity": "sha512-wUo/q6u77y9+DBaXkn57IDyJlQuN7xP6VU9h6yeIGhKocc9rDQPyc3WmLgX+x5jf4WmbLcEaA3raM05+v5jW3g==" - }, - "node_modules/prism-media": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-0.0.4.tgz", - "integrity": "sha512-dG2w7WtovUa4SiYTdWn9H8Bd4JNdei2djtkP/Bk9fXq81j5Q15ZPHYSwhUVvBRbp5zMkGtu0Yk62HuMcly0pRw==" - }, "node_modules/require-all": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/require-all/-/require-all-3.0.0.tgz", @@ -103,11 +158,10 @@ "node": ">= 0.8" } }, - "node_modules/snekfetch": { - "version": "3.6.4", - "resolved": "https://registry.npmjs.org/snekfetch/-/snekfetch-3.6.4.tgz", - "integrity": "sha512-NjxjITIj04Ffqid5lqr7XdgwM7X61c/Dns073Ly170bPQHLm6jkmelye/eglS++1nfTWktpP6Y2bFXjdPlQqdw==", - "deprecated": "use node-fetch instead" + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" }, "node_modules/tweetnacl": { "version": "1.0.3", @@ -115,62 +169,126 @@ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" }, "node_modules/ws": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", - "dependencies": { - "async-limiter": "~1.0.0" + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } } } }, "dependencies": { - "@discordjs/uws": { - "version": "10.149.0", - "resolved": "https://registry.npmjs.org/@discordjs/uws/-/uws-10.149.0.tgz", - "integrity": "sha512-N1wjoAD2DOgzevqzyTOWTgyO2divX03JWNQx4JHm/jQ/BRzZNkhwVRO3RC5Guww+srdgs4Tw4gwrzlJrlOhq/Q==", - "peer": true + "@discordjs/collection": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.1.6.tgz", + "integrity": "sha512-utRNxnd9kSS2qhyivo9lMlt5qgAUasH2gb7BEOn6p0efFh24gjGomHzWKMAPn2hEReOPQZCJaRKoURwRotKucQ==" }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "discord.js": { - "version": "11.6.4", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-11.6.4.tgz", - "integrity": "sha512-cK6rH1PuGjSjpmEQbnpuTxq1Yv8B89SotyKUFcr4RhnsiZnfBfDOev7DD7v5vhtEyyj51NuMWFoRJzgy/m08Uw==", + "@discordjs/form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@discordjs/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-ZfFsbgEXW71Rw/6EtBdrP5VxBJy4dthyC0tpQKGKmYFImlmmrykO14Za+BiIVduwjte0jXEBlhSKf0MWbFp9Eg==", "requires": { - "long": "^4.0.0", - "prism-media": "^0.0.4", - "snekfetch": "^3.6.4", - "tweetnacl": "^1.0.0", - "ws": "^6.0.0" + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" } }, - "long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + "abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "requires": { + "event-target-shim": "^5.0.0" + } + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "discord.js": { + "version": "12.5.3", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.5.3.tgz", + "integrity": "sha512-D3nkOa/pCkNyn6jLZnAiJApw2N9XrIsXUAdThf01i7yrEuqUmDGc7/CexVWwEcgbQR97XQ+mcnqJpmJ/92B4Aw==", + "requires": { + "@discordjs/collection": "^0.1.6", + "@discordjs/form-data": "^3.0.1", + "abort-controller": "^3.0.0", + "node-fetch": "^2.6.1", + "prism-media": "^1.2.9", + "setimmediate": "^1.0.5", + "tweetnacl": "^1.0.3", + "ws": "^7.4.4" + } + }, + "event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" + }, + "mime-db": { + "version": "1.48.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", + "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==" + }, + "mime-types": { + "version": "2.1.31", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", + "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", + "requires": { + "mime-db": "1.48.0" + } + }, + "node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" }, "node-os-utils": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/node-os-utils/-/node-os-utils-1.3.2.tgz", - "integrity": "sha512-wUo/q6u77y9+DBaXkn57IDyJlQuN7xP6VU9h6yeIGhKocc9rDQPyc3WmLgX+x5jf4WmbLcEaA3raM05+v5jW3g==" + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/node-os-utils/-/node-os-utils-1.3.5.tgz", + "integrity": "sha512-bIJIlk+hA+7/ATnu3sQMtF697iw9T/JksDhKMe9uENG0OhzIG7hLM6fbcyu18bOuajlYWnSlj0IhDo2q7k0ebg==" }, "prism-media": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-0.0.4.tgz", - "integrity": "sha512-dG2w7WtovUa4SiYTdWn9H8Bd4JNdei2djtkP/Bk9fXq81j5Q15ZPHYSwhUVvBRbp5zMkGtu0Yk62HuMcly0pRw==" + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.2.9.tgz", + "integrity": "sha512-UHCYuqHipbTR1ZsXr5eg4JUmHER8Ss4YEb9Azn+9zzJ7/jlTtD1h0lc4g6tNx3eMlB8Mp6bfll0LPMAV4R6r3Q==", + "requires": {} }, "require-all": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/require-all/-/require-all-3.0.0.tgz", "integrity": "sha1-Rz1JcEvjEBFc4ST3c4Ox69hnExI=" }, - "snekfetch": { - "version": "3.6.4", - "resolved": "https://registry.npmjs.org/snekfetch/-/snekfetch-3.6.4.tgz", - "integrity": "sha512-NjxjITIj04Ffqid5lqr7XdgwM7X61c/Dns073Ly170bPQHLm6jkmelye/eglS++1nfTWktpP6Y2bFXjdPlQqdw==" + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" }, "tweetnacl": { "version": "1.0.3", @@ -178,12 +296,10 @@ "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" }, "ws": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", - "requires": { - "async-limiter": "~1.0.0" - } + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "requires": {} } } } diff --git a/package.json b/package.json index 8918333..3676fe6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Discord Bot Based on Discord.JS", "main": "start.js", "dependencies": { - "discord.js": "^11.5.1", + "discord.js": "^12.5.1", "node-os-utils": "^1.3.2", "require-all": "^3.0.0" }, From a31ce6d3e2c77f95d39a1cc9708e63418319b5e7 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 10 Jun 2021 13:20:21 -0500 Subject: [PATCH 109/164] add CodeQL --- .github/workflows/codeql-analysis.yml | 71 +++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..d768088 --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,71 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ dev ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ dev ] + schedule: + - cron: '15 1 * * 2' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'javascript' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] + # Learn more: + # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + # ℹ️ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 From 737d2b45739090bafcc765d929856efd282fdc45 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 21 Jul 2021 15:48:17 -0500 Subject: [PATCH 110/164] Reduced and replaced custom statuses --- start.js | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/start.js b/start.js index d913f51..8a2eaa2 100644 --- a/start.js +++ b/start.js @@ -10,28 +10,14 @@ console.log('(Info) Loaded OS successfully!') 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 " + build, - "in Incognito Mode- wait what", - "uwu", - "Team Fortress 2 with Sophie", - "videos on Hulu", - "American Truck Simulator", - "with my users!", - "Euro Truck Simulator 2", - "with a screwdriver", - "Found new hardware.", - "@everyone" + "with Sophie!", + "Trans Rights!", + "in your computer", + "with my internet router", + "ssh: system64@borkeonv2", + "YouTube", + "with source code", + "Visual Studio Code" ]; console.log('Starting! This should only take a moment.') From 43fe767236256be1c0becf56199bf6e93893d44c Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 21 Jul 2021 15:48:53 -0500 Subject: [PATCH 111/164] Remove CodeQL --- .github/workflows/codeql-analysis.yml | 71 --------------------------- 1 file changed, 71 deletions(-) delete mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index d768088..0000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,71 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ dev ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ dev ] - schedule: - - cron: '15 1 * * 2' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ 'javascript' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: - # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v1 - - # ℹ️ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 From 98b6958c412a7e364966d5ad5bb4d5b27dc00dd8 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 21 Jul 2021 15:49:55 -0500 Subject: [PATCH 112/164] Update build info, drop build num entirely. --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 44924b2..fff0451 100644 --- a/config.json +++ b/config.json @@ -4,5 +4,5 @@ "token": "token", "ownerID": "309427567004483586", "release": "anitrox_dev", - "build": "Anitrox Stable Release Canidiate 2" + "build": "Stable Release Canidiate 2, PSC3 " } From 404eb93ea1a0ac88baf324a9b1b451e97f67cc8d Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 21 Jul 2021 16:03:29 -0500 Subject: [PATCH 113/164] Update footers --- commands/8ball.js | 2 +- commands/ban.js | 31 +++++++++++++++++++++++++++++++ commands/bonk.js | 2 +- commands/cheese.js | 2 +- commands/cuddle.js | 2 +- commands/help.js | 12 +++++------- commands/info.js | 2 +- commands/invite.js | 2 +- commands/kiss.js | 2 +- commands/leskiss.js | 2 +- commands/nom.js | 2 +- commands/pat.js | 2 +- commands/ping.js | 2 +- commands/poke.js | 2 +- commands/reload.js | 2 +- commands/setnick.js | 2 +- commands/slap.js | 2 +- commands/snuggle.js | 2 +- commands/userinfo.js | 2 +- 19 files changed, 53 insertions(+), 24 deletions(-) create mode 100644 commands/ban.js diff --git a/commands/8ball.js b/commands/8ball.js index 4c324d1..94c73fd 100644 --- a/commands/8ball.js +++ b/commands/8ball.js @@ -25,7 +25,7 @@ module.exports = { "color": 13632027, "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" + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" } } } diff --git a/commands/ban.js b/commands/ban.js new file mode 100644 index 0000000..c8549fb --- /dev/null +++ b/commands/ban.js @@ -0,0 +1,31 @@ +const { GuildMember } = require("discord.js"); + +module.exports = { + name: "ban", + description: "Bans an user, This requires that you have ``BAN_MEMBERS`` or ``ADMINISTRATOR``", + execute(client, message, args) { + const banembed = { + "title": "<:usersuccess:793885338250641469> User Banned", + "description": "User ${user.tag} was banned!", + "color": 5736060, + "fields": [ + { + "name": "Reason", + "value": "reason" + } + ] + }; + const user = message.mentions.users.first(); + if (user) { + const member = message.guild.member(user); + if (member) { + member + .ban({ + reason: 'reason', + }) + .then(() => + + message.channel.send("bye lmao")); + + } + }}} \ No newline at end of file diff --git a/commands/bonk.js b/commands/bonk.js index 6daa809..11e0fea 100644 --- a/commands/bonk.js +++ b/commands/bonk.js @@ -10,7 +10,7 @@ module.exports = { "color": 13632027, "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" + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" }, "fields": [ { diff --git a/commands/cheese.js b/commands/cheese.js index 2dff733..6f78914 100644 --- a/commands/cheese.js +++ b/commands/cheese.js @@ -20,7 +20,7 @@ module.exports = { "color": 16312092, "footer": { "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 by IDeletedSystem64" }, "image": { "url": "https://cdn.discordapp.com/attachments/803658122299572255/812867714368536636/R06325af354168febcafd96b8328b7590.png" diff --git a/commands/cuddle.js b/commands/cuddle.js index a151285..4f08ccf 100644 --- a/commands/cuddle.js +++ b/commands/cuddle.js @@ -26,7 +26,7 @@ module.exports = { "color": 9442302, "footer": { "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 by IDeletedSystem64" }, "image": { "url": gif diff --git a/commands/help.js b/commands/help.js index 26b15e0..0cf7b16 100644 --- a/commands/help.js +++ b/commands/help.js @@ -10,20 +10,16 @@ const embed = { "color": 9442302, "description": "More commands are soon to come, stay tuned!", "footer": { - "text": "Some commands are hidden for dev-only. | Anitrox © IDeletedSystem64 2018-2021" + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" }, "fields": [ { "name": "Utility Commands", "value": "`help` ``info`` ``userinfo`` ``ping`` ``invite`` ``avatar``" }, - { - "name": "Moderation Commands", - "value": "`ban`/`unban` `kick` `mute`/`unmute` " - }, { "name": "Server Management Commands", - "value": "`makerole`/`delrole`/`editrole` `setnick` `makechan`/`editchan`/`delchan` " + "value": "`setnick`" }, { "name": "Action Commands", @@ -36,9 +32,11 @@ const embed = { { "name": "**Or you can view the bot progress, known issues, and planned features!**", "value": "bit.ly/anitrox-trello" + }, + { + "name": "<:AnitroxInfo:809651936831733791> **The bot isn't yet fully finished. There's more to come! if I don't rewrite from scratch that is 😛**" } - ] }; message.channel.send({ embed }); diff --git a/commands/info.js b/commands/info.js index c051e9a..26ab987 100644 --- a/commands/info.js +++ b/commands/info.js @@ -33,7 +33,7 @@ module.exports = { "color": 9442302, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021 " + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" }, "thumbnail": { "url": ("https://cdn.discordapp.com/avatars/576805923964715018/20f9b2815850dbbebd6d858308c90330.webp") diff --git a/commands/invite.js b/commands/invite.js index 1e5156b..77a02f1 100644 --- a/commands/invite.js +++ b/commands/invite.js @@ -10,7 +10,7 @@ module.exports = { "color": 9442302, "footer": { "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 by IDeletedSystem64" }, "thumbnail": { "url": "https://cdn.discordapp.com/attachments/803658122299572255/814352905394061322/anitroxaddsrvr.png" diff --git a/commands/kiss.js b/commands/kiss.js index 2273463..b220904 100644 --- a/commands/kiss.js +++ b/commands/kiss.js @@ -23,7 +23,7 @@ module.exports = { "color": 13632027, "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" + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" }, "fields": [ { diff --git a/commands/leskiss.js b/commands/leskiss.js index 5f83b2a..fa4982f 100644 --- a/commands/leskiss.js +++ b/commands/leskiss.js @@ -35,7 +35,7 @@ module.exports = { "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" + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" }, "fields": [ { diff --git a/commands/nom.js b/commands/nom.js index 98f4961..b67fa75 100644 --- a/commands/nom.js +++ b/commands/nom.js @@ -23,7 +23,7 @@ module.exports = { "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" + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" }, "fields": [ { diff --git a/commands/pat.js b/commands/pat.js index 54dc598..0e05524 100644 --- a/commands/pat.js +++ b/commands/pat.js @@ -22,7 +22,7 @@ module.exports = { "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" + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" }, "fields": [ { diff --git a/commands/ping.js b/commands/ping.js index 17b350b..e8a4ac0 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -8,7 +8,7 @@ module.exports = { "fields": [ { "name": "Ping is " + client.ws.ping + " ms", - "value": "If this is more than 1500ms there may be a problem!" + "value": "If this is more than 350ms there may be a problem!" } ] }; diff --git a/commands/poke.js b/commands/poke.js index 1803d64..6b8ebd0 100644 --- a/commands/poke.js +++ b/commands/poke.js @@ -22,7 +22,7 @@ module.exports = { "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" + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" }, "fields": [ { diff --git a/commands/reload.js b/commands/reload.js index a434e39..59af0ac 100644 --- a/commands/reload.js +++ b/commands/reload.js @@ -29,7 +29,7 @@ module.exports = { "color": 13632027, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Anitrox © IDeletedSystem64 2018-2021 All Rights Reserved." + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" }, "fields": [ { diff --git a/commands/setnick.js b/commands/setnick.js index 99afa6b..a828250 100644 --- a/commands/setnick.js +++ b/commands/setnick.js @@ -12,7 +12,7 @@ module.exports = { "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" + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" }, "fields": [ { diff --git a/commands/slap.js b/commands/slap.js index 721acb8..94ebaa9 100644 --- a/commands/slap.js +++ b/commands/slap.js @@ -13,7 +13,7 @@ const errorembed = { "color": 13632027, "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" + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" }, "fields": [ { diff --git a/commands/snuggle.js b/commands/snuggle.js index 4a5f982..3869711 100644 --- a/commands/snuggle.js +++ b/commands/snuggle.js @@ -23,7 +23,7 @@ module.exports = { "color": 9442302, "footer": { "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 by IDeletedSystem64" }, "image": { "url": gif diff --git a/commands/userinfo.js b/commands/userinfo.js index 71723c7..c8c05ed 100644 --- a/commands/userinfo.js +++ b/commands/userinfo.js @@ -25,7 +25,7 @@ module.exports = { "color": 9442302, "footer": { "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 by IDeletedSystem644" }, "thumbnail": { From 89788f46508b45a1a521f966b4137d82c86504e9 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 21 Jul 2021 16:06:34 -0500 Subject: [PATCH 114/164] Release Notes --- releasenotes.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 releasenotes.txt diff --git a/releasenotes.txt b/releasenotes.txt new file mode 100644 index 0000000..1687bdb --- /dev/null +++ b/releasenotes.txt @@ -0,0 +1,14 @@ +:anitroxaddserver: **Anitrox has been updated.** +**Old Version: Anitrox Stable Release Canidiate 1, Build 500** +**New Version: Stable Release Canidiate 2, Version PR3** +This new major release brings new features, and bug fixes to Anitrox and paves the way towards Stable release. + +**What's New** +Anitrox Source code has been released to the public, If ya want to poke around or make contributions either run ``np!opensource`` and select "Anitrox Project" +Reduced the amount of statuses that Anitrox uses, it used more lines than actual code I think >w>. Also added some new ones! +Changed the footer +Localization updates-nahjk (maybe one day? 🤔) +Simplified error message +Patched a security vulnerbility in one of the dependencies, I forget what it was but Dependabot gave me a heads up about it soo ¯\_(ツ)_ +Probably a bunch of other stuff I've forgot about 🙃 + From df58dad0cb4eaec3699727acb9edf5151f790553 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 21 Jul 2021 16:06:43 -0500 Subject: [PATCH 115/164] Release Notes --- releasenotesuhh.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 releasenotesuhh.txt diff --git a/releasenotesuhh.txt b/releasenotesuhh.txt new file mode 100644 index 0000000..1687bdb --- /dev/null +++ b/releasenotesuhh.txt @@ -0,0 +1,14 @@ +:anitroxaddserver: **Anitrox has been updated.** +**Old Version: Anitrox Stable Release Canidiate 1, Build 500** +**New Version: Stable Release Canidiate 2, Version PR3** +This new major release brings new features, and bug fixes to Anitrox and paves the way towards Stable release. + +**What's New** +Anitrox Source code has been released to the public, If ya want to poke around or make contributions either run ``np!opensource`` and select "Anitrox Project" +Reduced the amount of statuses that Anitrox uses, it used more lines than actual code I think >w>. Also added some new ones! +Changed the footer +Localization updates-nahjk (maybe one day? 🤔) +Simplified error message +Patched a security vulnerbility in one of the dependencies, I forget what it was but Dependabot gave me a heads up about it soo ¯\_(ツ)_ +Probably a bunch of other stuff I've forgot about 🙃 + From 0b994f2b651e58d6e6ded04ad454cc3d98bc9573 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 21 Jul 2021 16:07:06 -0500 Subject: [PATCH 116/164] Thank you GitHub, Very Cool. --- releasenotesuhh.txt | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 releasenotesuhh.txt diff --git a/releasenotesuhh.txt b/releasenotesuhh.txt deleted file mode 100644 index 1687bdb..0000000 --- a/releasenotesuhh.txt +++ /dev/null @@ -1,14 +0,0 @@ -:anitroxaddserver: **Anitrox has been updated.** -**Old Version: Anitrox Stable Release Canidiate 1, Build 500** -**New Version: Stable Release Canidiate 2, Version PR3** -This new major release brings new features, and bug fixes to Anitrox and paves the way towards Stable release. - -**What's New** -Anitrox Source code has been released to the public, If ya want to poke around or make contributions either run ``np!opensource`` and select "Anitrox Project" -Reduced the amount of statuses that Anitrox uses, it used more lines than actual code I think >w>. Also added some new ones! -Changed the footer -Localization updates-nahjk (maybe one day? 🤔) -Simplified error message -Patched a security vulnerbility in one of the dependencies, I forget what it was but Dependabot gave me a heads up about it soo ¯\_(ツ)_ -Probably a bunch of other stuff I've forgot about 🙃 - From 29a4629ede67f9a6da389b7914614d6f919f8dcf Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 21 Jul 2021 16:09:59 -0500 Subject: [PATCH 117/164] Update releasenotes.txt --- releasenotes.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releasenotes.txt b/releasenotes.txt index 1687bdb..9238212 100644 --- a/releasenotes.txt +++ b/releasenotes.txt @@ -11,4 +11,4 @@ Localization updates-nahjk (maybe one day? 🤔) Simplified error message Patched a security vulnerbility in one of the dependencies, I forget what it was but Dependabot gave me a heads up about it soo ¯\_(ツ)_ Probably a bunch of other stuff I've forgot about 🙃 - +https://www.youtube.com/watch?v=_WW2JWIv6G8 From 907fa1d978a78447c40c149b3ca457fa178072dc Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 21 Jul 2021 16:33:29 -0500 Subject: [PATCH 118/164] Update config.json --- config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index fff0451..264605b 100644 --- a/config.json +++ b/config.json @@ -1,8 +1,8 @@ { - "prefix": "n!", + "prefix": "np!", "token": "token", "ownerID": "309427567004483586", - "release": "anitrox_dev", + "release": "anitrox_ptb", "build": "Stable Release Canidiate 2, PSC3 " } From a64b0658b852dfab1ecb895ca6b68e833f55e435 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sun, 22 Aug 2021 21:25:24 -0500 Subject: [PATCH 119/164] Fix readme for PTB builds The readme was using the ``dev`` readme instead. I genuinely don't know how this made it past me so long (considering I wrote it) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 02df974..e2b13fc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Anitrox Dev Branch -# anitrox_unstable -This is for the ultra-fresh builds of Anitrox and is **very** unstable. It is only avaliable in Anitrox Central. -# These builds are UNSUPPORTED and you will not be able to recieve support if there's a problem. It's best you wait for a new build if you're having a problem. +# Anitrox Public Test Release +# aka anitrox_ptb +These are the freshest off the vine stableish releases, And can be added to any server. +# These builds have limited support, If there's an issue with it in your server, Make sure you are running the command properly or if it's a actual issue with code open a GitHub issue. From 0757e1f44ad502724671340f0e4b442069ae2d26 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 26 Aug 2021 19:20:54 -0500 Subject: [PATCH 120/164] Changed build/version naming system --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index 264605b..9a12461 100644 --- a/config.json +++ b/config.json @@ -4,5 +4,5 @@ "token": "token", "ownerID": "309427567004483586", "release": "anitrox_ptb", - "build": "Stable Release Canidiate 2, PSC3 " + "build": "Stable Release Canidiate 3.1, Based off release commit 907fa1d" } From af3b23f8438b1f5a25f19d4cae9451fbfebebaa6 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 27 Aug 2021 16:13:33 -0500 Subject: [PATCH 121/164] Update base commit --- config.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.json b/config.json index 9a12461..c958daf 100644 --- a/config.json +++ b/config.json @@ -1,8 +1,8 @@ { - "prefix": "np!", + "prefix": "n!", - "token": "token", + "token": "nOwoTaRe4lt0k3n", "ownerID": "309427567004483586", - "release": "anitrox_ptb", - "build": "Stable Release Canidiate 3.1, Based off release commit 907fa1d" + "release": "anitrox_dev", + "build": "1.0 Prerelease, Based off commit 0757e1f" } From 25ea95bbd8ccf94000e907796bc7b9baa05049af Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 27 Aug 2021 16:14:52 -0500 Subject: [PATCH 122/164] buttontest, serversetup --- commands/buttontest.js | 16 ++++++++++++++++ commands/createserver.js | 18 ++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 commands/buttontest.js create mode 100644 commands/createserver.js diff --git a/commands/buttontest.js b/commands/buttontest.js new file mode 100644 index 0000000..643cd22 --- /dev/null +++ b/commands/buttontest.js @@ -0,0 +1,16 @@ +module.exports = { + name: "buttontest", + description: "buttontest", + execute(client, message, args) { +const buttonembed = { + "title": "buttontest", + "description": "anitrox buttontest", + "color": 9442302, + "footer": { + "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", + "text": "footertext" + } +}; +message.channel.send({ embed: buttonembed }); + } +} \ No newline at end of file diff --git a/commands/createserver.js b/commands/createserver.js new file mode 100644 index 0000000..d936e0b --- /dev/null +++ b/commands/createserver.js @@ -0,0 +1,18 @@ +module.exports = { + name: 'serversetup', + description: 'Sets up channels and roles for your newly created server', + execute(client, message, args) { + const start = { + "title": " Beginning Server Setup...", + "description": "This will set up the following:\nStaff Roles\nStaff Channels\nServer Channels\nThis will not set up:\nAdvertisements (if applicable)\nModeration bots\n\nClick :white_check_mark: to Continue\nClick :x: to Cancel", + "color": 12390624, + "footer": { + "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", + "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" + } + }; + // Embeds + + message.channel.send({ embed: start }); + } + } \ No newline at end of file From 51a00b82bac053a1ced7936fca5fa86677051374 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Fri, 27 Aug 2021 16:15:26 -0500 Subject: [PATCH 123/164] Update startup --- start.js | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/start.js b/start.js index 8a2eaa2..72afcce 100644 --- a/start.js +++ b/start.js @@ -1,10 +1,11 @@ -console.log('(Info) Preparing to start!') + +console.log("(Info)" + " Preparing to start!" ) const fs = require('fs'); console.log('(Info) Loaded Filesystem successfully!') const Discord = require('discord.js'); +const { MessageActionRow, MessageButton } = require('discord.js') console.log('(Info) Loaded Discord successfully!') const { build, release, prefix, token } = require('./config.json'); -const { denied, error, info, success, warning } = require('./icons.json'); const os = require("os"); console.log('(Info) Loaded OS successfully!') @@ -17,9 +18,9 @@ const activities_list = [ "ssh: system64@borkeonv2", "YouTube", "with source code", - "Visual Studio Code" + "Visual Studio Code", + "Running Anitrox" + build ]; - console.log('Starting! This should only take a moment.') const client = new Discord.Client(); client.commands = new Discord.Collection(); @@ -33,9 +34,9 @@ for (const file of commandFiles) { 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.log(Date.now + "[ERROR]" + error(e))); +client.on("warn", (e) => (Date.now + "[WARN]" + warn(e))); +// sends errors/warnings to the hosts console/terminal. crash errors ignore this client.once('ready', () => { console.clear() console.log(' ___ _ __ '); @@ -46,11 +47,12 @@ client.once('ready', () => { console.log(release + ", " + build) console.log("All Systems Go. | Anitrox by IDeletedSystem64 | We're now open-source! Check it out at bit.ly/anitroxsource"); }); +// does a cool logo thingy on start up setInterval(() => { const index = Math.floor(Math.random() * (activities_list.length - 1) + 1); client.user.setActivity(activities_list[index]); }, 20000); - +// runs some math to randomly pick a status from activites_list, this may need tuning when statuses are added/removed to make it more random (as it may just land on the current status instead) client.on('message', message => { if (!message.content.startsWith(prefix) || message.author.bot) return; @@ -82,6 +84,7 @@ client.on('message', message => { ] }; message.channel.send({ embed }); + // tries to run the executed command, if fails it will send a error msg with the error stack } }); From f59984c7dc6d2a1d8ff6f9e0a64f26f5fb2f8a71 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 1 Sep 2021 19:56:59 -0500 Subject: [PATCH 124/164] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 02df974..a15bc7d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# Anitrox Dev Branch +# Anitrox Dev Branch [![forthebadge](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTUiIGhlaWdodD0iMzUiIHZpZXdCb3g9IjAgMCAyNTUgMzUiPjxyZWN0IGNsYXNzPSJzdmdfX3JlY3QiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMTUuMzEiIGhlaWdodD0iMzUiIGZpbGw9IiM4RkM5NjUiLz48cmVjdCBjbGFzcz0ic3ZnX19yZWN0IiB4PSIxMTMuMzEiIHk9IjAiIHdpZHRoPSIxNDEuNjkiIGhlaWdodD0iMzUiIGZpbGw9IiM0MTlCNUEiLz48cGF0aCB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MTguNzRMMjMxLjE2IDE4Ljc0UTIzMC4yMSAxOC41MyAyMjkuNTggMTguMzBRMjI4Ljk0IDE4LjA2IDIyOC40OSAxNy41NVEyMjguMDMgMTcuMDMgMjI4LjAzIDE2LjE2TDIyOC4wMyAxNi4xNlEyMjguMDMgMTUuMzkgMjI4LjQ1IDE0Ljc3UTIyOC44NyAxNC4xNSAyMjkuNzEgMTMuNzlRMjMwLjU0IDEzLjQzIDIzMS43NSAxMy40M0wyMzEuNzUgMTMuNDNRMjMyLjU3IDEzLjQzIDIzMy4zOCAxMy42MlEyMzQuMTkgMTMuODAgMjM0LjgwIDE0LjE3TDIzNC44MCAxNC4xN0wyMzQuMDcgMTUuOTNRMjMyLjg3IDE1LjI4IDIzMS43NCAxNS4yOEwyMzEuNzQgMTUuMjhRMjMxLjAzIDE1LjI4IDIzMC43MCAxNS40OVEyMzAuMzggMTUuNzAgMjMwLjM4IDE2LjA0TDIzMC4zOCAxNi4wNFEyMzAuMzggMTYuMzcgMjMwLjc3IDE2LjU0UTIzMS4xNSAxNi43MSAyMzIuMDAgMTYuODlMMjMyLjAwIDE2Ljg5UTIzMi45NiAxNy4xMCAyMzMuNTkgMTcuMzNRMjM0LjIyIDE3LjU2IDIzNC42OCAxOC4wN1EyMzUuMTUgMTguNTggMjM1LjE1IDE5LjQ2TDIzNS4xNSAxOS40NlEyMzUuMTUgMjAuMjEgMjM0LjczIDIwLjgzUTIzNC4zMSAyMS40NCAyMzMuNDcgMjEuODBRMjMyLjYzIDIyLjE3IDIzMS40MyAyMi4xN0wyMzEuNDMgMjIuMTdRMjMwLjQxIDIyLjE3IDIyOS40NSAyMS45MlEyMjguNDggMjEuNjcgMjI3Ljg5IDIxLjI0WiIgZmlsbD0iI0ZGRkZGRiIgeD0iMTI2LjMxIi8+PC9zdmc+)](https://forthebadge.com) # anitrox_unstable This is for the ultra-fresh builds of Anitrox and is **very** unstable. It is only avaliable in Anitrox Central. # These builds are UNSUPPORTED and you will not be able to recieve support if there's a problem. It's best you wait for a new build if you're having a problem. From 2e3434f8f4fbb430c92ee5064f5e1cbaf7fa8f2f Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 14 Sep 2021 11:01:15 -0500 Subject: [PATCH 125/164] commit message --- commands/createserver.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/createserver.js b/commands/createserver.js index d936e0b..d5f59a7 100644 --- a/commands/createserver.js +++ b/commands/createserver.js @@ -15,4 +15,5 @@ module.exports = { message.channel.send({ embed: start }); } - } \ No newline at end of file + } +// This ain't even finished yet lmao \ No newline at end of file From b1e98f7f190cd01d1c2dc3e29bc985fdff30c8f0 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sun, 31 Oct 2021 20:37:22 -0500 Subject: [PATCH 126/164] Update config.json --- config.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.json b/config.json index c958daf..54bdaf2 100644 --- a/config.json +++ b/config.json @@ -1,8 +1,8 @@ { - "prefix": "n!", - - "token": "nOwoTaRe4lt0k3n", - "ownerID": "309427567004483586", - "release": "anitrox_dev", - "build": "1.0 Prerelease, Based off commit 0757e1f" + "token": "your-token-here", + "release": "experimental", + "version": "placeholder", + "footer": "Anitrox Experimental - ⚠ Things may break horribly, or be removed! You have been warned!", + "icon": "iconlink", + "prefix": "n!" } From 0cab557e109a3522156fe16d6b3a37c7cf437cd0 Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Sun, 31 Oct 2021 20:39:52 -0500 Subject: [PATCH 127/164] I pushed to the wrong branch --- config.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/config.json b/config.json index 54bdaf2..4765131 100644 --- a/config.json +++ b/config.json @@ -1,8 +1,7 @@ { - "token": "your-token-here", - "release": "experimental", - "version": "placeholder", - "footer": "Anitrox Experimental - ⚠ Things may break horribly, or be removed! You have been warned!", - "icon": "iconlink", - "prefix": "n!" + "prefix": "n!", + "token": "nOwoTaRe4lt0k3n", + "ownerID": "309427567004483586", + "release": "anitrox_dev", + "build": "1.0 Prerelease, Based off commit 0757e1f" } From 2d43f697be1fdb4ca24a6de1b4ed8503fae7812c Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Wed, 12 Jan 2022 00:23:40 -0600 Subject: [PATCH 128/164] Add a .gitignore, finally. --- .gitignore | 2 + package-lock.json | 220 ++++------------------------------------------ 2 files changed, 18 insertions(+), 204 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..78d55f5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules +package-log.json \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 69352da..35678bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,194 +1,8 @@ { "name": "projectanitrox", "version": "1.0.0", - "lockfileVersion": 2, + "lockfileVersion": 1, "requires": true, - "packages": { - "": { - "name": "projectanitrox", - "version": "1.0.0", - "license": "ISC", - "dependencies": { - "discord.js": "^12.5.1", - "node-os-utils": "^1.3.2", - "require-all": "^3.0.0" - } - }, - "node_modules/@discordjs/collection": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.1.6.tgz", - "integrity": "sha512-utRNxnd9kSS2qhyivo9lMlt5qgAUasH2gb7BEOn6p0efFh24gjGomHzWKMAPn2hEReOPQZCJaRKoURwRotKucQ==" - }, - "node_modules/@discordjs/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@discordjs/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-ZfFsbgEXW71Rw/6EtBdrP5VxBJy4dthyC0tpQKGKmYFImlmmrykO14Za+BiIVduwjte0jXEBlhSKf0MWbFp9Eg==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/discord.js": { - "version": "12.5.3", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.5.3.tgz", - "integrity": "sha512-D3nkOa/pCkNyn6jLZnAiJApw2N9XrIsXUAdThf01i7yrEuqUmDGc7/CexVWwEcgbQR97XQ+mcnqJpmJ/92B4Aw==", - "dependencies": { - "@discordjs/collection": "^0.1.6", - "@discordjs/form-data": "^3.0.1", - "abort-controller": "^3.0.0", - "node-fetch": "^2.6.1", - "prism-media": "^1.2.9", - "setimmediate": "^1.0.5", - "tweetnacl": "^1.0.3", - "ws": "^7.4.4" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", - "dependencies": { - "mime-db": "1.48.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "engines": { - "node": "4.x || >=6.0.0" - } - }, - "node_modules/node-os-utils": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/node-os-utils/-/node-os-utils-1.3.5.tgz", - "integrity": "sha512-bIJIlk+hA+7/ATnu3sQMtF697iw9T/JksDhKMe9uENG0OhzIG7hLM6fbcyu18bOuajlYWnSlj0IhDo2q7k0ebg==" - }, - "node_modules/prism-media": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.2.9.tgz", - "integrity": "sha512-UHCYuqHipbTR1ZsXr5eg4JUmHER8Ss4YEb9Azn+9zzJ7/jlTtD1h0lc4g6tNx3eMlB8Mp6bfll0LPMAV4R6r3Q==", - "peerDependencies": { - "@discordjs/opus": "^0.5.0", - "ffmpeg-static": "^4.2.7 || ^3.0.0 || ^2.4.0", - "node-opus": "^0.3.3", - "opusscript": "^0.0.8" - }, - "peerDependenciesMeta": { - "@discordjs/opus": { - "optional": true - }, - "ffmpeg-static": { - "optional": true - }, - "node-opus": { - "optional": true - }, - "opusscript": { - "optional": true - } - } - }, - "node_modules/require-all": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/require-all/-/require-all-3.0.0.tgz", - "integrity": "sha1-Rz1JcEvjEBFc4ST3c4Ox69hnExI=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" - }, - "node_modules/tweetnacl": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", - "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" - }, - "node_modules/ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - } - }, "dependencies": { "@discordjs/collection": { "version": "0.1.6", @@ -200,9 +14,9 @@ "resolved": "https://registry.npmjs.org/@discordjs/form-data/-/form-data-3.0.1.tgz", "integrity": "sha512-ZfFsbgEXW71Rw/6EtBdrP5VxBJy4dthyC0tpQKGKmYFImlmmrykO14Za+BiIVduwjte0jXEBlhSKf0MWbFp9Eg==", "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" + "asynckit": "0.4.0", + "combined-stream": "1.0.8", + "mime-types": "2.1.31" } }, "abort-controller": { @@ -210,7 +24,7 @@ "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", "requires": { - "event-target-shim": "^5.0.0" + "event-target-shim": "5.0.1" } }, "asynckit": { @@ -223,7 +37,7 @@ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "requires": { - "delayed-stream": "~1.0.0" + "delayed-stream": "1.0.0" } }, "delayed-stream": { @@ -236,14 +50,14 @@ "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.5.3.tgz", "integrity": "sha512-D3nkOa/pCkNyn6jLZnAiJApw2N9XrIsXUAdThf01i7yrEuqUmDGc7/CexVWwEcgbQR97XQ+mcnqJpmJ/92B4Aw==", "requires": { - "@discordjs/collection": "^0.1.6", - "@discordjs/form-data": "^3.0.1", - "abort-controller": "^3.0.0", - "node-fetch": "^2.6.1", - "prism-media": "^1.2.9", - "setimmediate": "^1.0.5", - "tweetnacl": "^1.0.3", - "ws": "^7.4.4" + "@discordjs/collection": "0.1.6", + "@discordjs/form-data": "3.0.1", + "abort-controller": "3.0.0", + "node-fetch": "2.6.1", + "prism-media": "1.2.9", + "setimmediate": "1.0.5", + "tweetnacl": "1.0.3", + "ws": "7.4.6" } }, "event-target-shim": { @@ -277,8 +91,7 @@ "prism-media": { "version": "1.2.9", "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.2.9.tgz", - "integrity": "sha512-UHCYuqHipbTR1ZsXr5eg4JUmHER8Ss4YEb9Azn+9zzJ7/jlTtD1h0lc4g6tNx3eMlB8Mp6bfll0LPMAV4R6r3Q==", - "requires": {} + "integrity": "sha512-UHCYuqHipbTR1ZsXr5eg4JUmHER8Ss4YEb9Azn+9zzJ7/jlTtD1h0lc4g6tNx3eMlB8Mp6bfll0LPMAV4R6r3Q==" }, "require-all": { "version": "3.0.0", @@ -298,8 +111,7 @@ "ws": { "version": "7.4.6", "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", - "requires": {} + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==" } } } From e1bef32cde799ba32c3bfde0a7e55d95706ceab3 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Wed, 12 Jan 2022 00:25:39 -0600 Subject: [PATCH 129/164] Why did I put "package-log.json" --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 78d55f5..25c8fdb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ node_modules -package-log.json \ No newline at end of file +package-lock.json \ No newline at end of file From a08582d6d25dc1de78ab378fd842cb04e2c59291 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Wed, 12 Jan 2022 00:59:17 -0600 Subject: [PATCH 130/164] Remove "Discord API Ping" frm:info + unneeded stuff. --- .gitignore | 4 +++- commands/info.js | 9 ++------- config.json | 2 +- releasenotes.txt | 14 -------------- start.js | 17 +++++++---------- 5 files changed, 13 insertions(+), 33 deletions(-) diff --git a/.gitignore b/.gitignore index 25c8fdb..35cef7a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ node_modules -package-lock.json \ No newline at end of file +package-lock.json +releasenotes.txt +config.json \ No newline at end of file diff --git a/commands/info.js b/commands/info.js index 26ab987..1b3231c 100644 --- a/commands/info.js +++ b/commands/info.js @@ -3,7 +3,7 @@ module.exports = { name: 'info', description: 'Shows bot and host information', - execute(client, message, args,) { + execute(client, message, args, footer) { const { build, release } = require('../config.json'); function Uptime(uptimetype) { let totalSeconds = (uptimetype / 1000); @@ -33,7 +33,7 @@ module.exports = { "color": 9442302, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" + "text": footer }, "thumbnail": { "url": ("https://cdn.discordapp.com/avatars/576805923964715018/20f9b2815850dbbebd6d858308c90330.webp") @@ -80,11 +80,6 @@ module.exports = { "name": "<:node:793537507018145813> Node.JS Version", "value": process.version }, - { - "name": "<:Discord:793676263411679232> Discord API Ping", - "value": "tba" + " ms", - "inline": true - }, { "name": "<:hostinfo:793529505263517747> Bot Ping", "value": Math.round(client.ws.ping) + " ms", diff --git a/config.json b/config.json index 4765131..0d63523 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "prefix": "n!", - "token": "nOwoTaRe4lt0k3n", + "token": "IM SO EXCITED ABOUT BURGER", "ownerID": "309427567004483586", "release": "anitrox_dev", "build": "1.0 Prerelease, Based off commit 0757e1f" diff --git a/releasenotes.txt b/releasenotes.txt index 9238212..e69de29 100644 --- a/releasenotes.txt +++ b/releasenotes.txt @@ -1,14 +0,0 @@ -:anitroxaddserver: **Anitrox has been updated.** -**Old Version: Anitrox Stable Release Canidiate 1, Build 500** -**New Version: Stable Release Canidiate 2, Version PR3** -This new major release brings new features, and bug fixes to Anitrox and paves the way towards Stable release. - -**What's New** -Anitrox Source code has been released to the public, If ya want to poke around or make contributions either run ``np!opensource`` and select "Anitrox Project" -Reduced the amount of statuses that Anitrox uses, it used more lines than actual code I think >w>. Also added some new ones! -Changed the footer -Localization updates-nahjk (maybe one day? 🤔) -Simplified error message -Patched a security vulnerbility in one of the dependencies, I forget what it was but Dependabot gave me a heads up about it soo ¯\_(ツ)_ -Probably a bunch of other stuff I've forgot about 🙃 -https://www.youtube.com/watch?v=_WW2JWIv6G8 diff --git a/start.js b/start.js index 72afcce..4b8e79d 100644 --- a/start.js +++ b/start.js @@ -1,13 +1,10 @@ -console.log("(Info)" + " Preparing to start!" ) +console.log("Let's get started") const fs = require('fs'); -console.log('(Info) Loaded Filesystem successfully!') const Discord = require('discord.js'); const { MessageActionRow, MessageButton } = require('discord.js') -console.log('(Info) Loaded Discord successfully!') const { build, release, prefix, token } = require('./config.json'); const os = require("os"); -console.log('(Info) Loaded OS successfully!') const activities_list = [ "with np!help", @@ -25,7 +22,7 @@ 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, by IDeletedSystem64" +const footer = "Anitrox, IDeletedSystem64 2018-2022" const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); @@ -34,9 +31,9 @@ for (const file of commandFiles) { client.commands.set(command.name, command); } -client.on("error", (e) => console.log(Date.now + "[ERROR]" + error(e))); -client.on("warn", (e) => (Date.now + "[WARN]" + warn(e))); -// sends errors/warnings to the hosts console/terminal. crash errors ignore this +client.on("error", (e) => console.log("[ERROR]" + error(e))); +client.on("warn", (e) => ("[WARN]" + warn(e))); +// Log errors and warnings ton console. client.once('ready', () => { console.clear() console.log(' ___ _ __ '); @@ -45,7 +42,7 @@ client.once('ready', () => { console.log(' / ___ |/ / / / / /_/ / / /_/ /> < '); console.log('/_/ |_/_/ /_/_/\__/_/ \____/_/|_| ') console.log(release + ", " + build) - console.log("All Systems Go. | Anitrox by IDeletedSystem64 | We're now open-source! Check it out at bit.ly/anitroxsource"); + console.log("All Systems Go. | Anitrox by IDeletedSystem64 | meow meow :3"); }); // does a cool logo thingy on start up setInterval(() => { @@ -62,7 +59,7 @@ client.on('message', message => { if (!client.commands.has(command)) return; try { - client.commands.get(command).execute(client, message, args, Discord); + client.commands.get(command).execute(client, message, args, Discord, footer); } catch (error) { console.stack const embed = { From 6dcb2279c1e3bdb9f1f83e5516ca7efbfcd94b1b Mon Sep 17 00:00:00 2001 From: BuildTools Date: Wed, 12 Jan 2022 11:34:47 -0600 Subject: [PATCH 131/164] in theory, config.json will no longer be committed. --- config.json => config-example.json | 0 package-lock.json | 117 ----------------------------- 2 files changed, 117 deletions(-) rename config.json => config-example.json (100%) delete mode 100644 package-lock.json diff --git a/config.json b/config-example.json similarity index 100% rename from config.json rename to config-example.json diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 35678bb..0000000 --- a/package-lock.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "name": "projectanitrox", - "version": "1.0.0", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "@discordjs/collection": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.1.6.tgz", - "integrity": "sha512-utRNxnd9kSS2qhyivo9lMlt5qgAUasH2gb7BEOn6p0efFh24gjGomHzWKMAPn2hEReOPQZCJaRKoURwRotKucQ==" - }, - "@discordjs/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@discordjs/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-ZfFsbgEXW71Rw/6EtBdrP5VxBJy4dthyC0tpQKGKmYFImlmmrykO14Za+BiIVduwjte0jXEBlhSKf0MWbFp9Eg==", - "requires": { - "asynckit": "0.4.0", - "combined-stream": "1.0.8", - "mime-types": "2.1.31" - } - }, - "abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "requires": { - "event-target-shim": "5.0.1" - } - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "requires": { - "delayed-stream": "1.0.0" - } - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" - }, - "discord.js": { - "version": "12.5.3", - "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-12.5.3.tgz", - "integrity": "sha512-D3nkOa/pCkNyn6jLZnAiJApw2N9XrIsXUAdThf01i7yrEuqUmDGc7/CexVWwEcgbQR97XQ+mcnqJpmJ/92B4Aw==", - "requires": { - "@discordjs/collection": "0.1.6", - "@discordjs/form-data": "3.0.1", - "abort-controller": "3.0.0", - "node-fetch": "2.6.1", - "prism-media": "1.2.9", - "setimmediate": "1.0.5", - "tweetnacl": "1.0.3", - "ws": "7.4.6" - } - }, - "event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" - }, - "mime-db": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", - "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==" - }, - "mime-types": { - "version": "2.1.31", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", - "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", - "requires": { - "mime-db": "1.48.0" - } - }, - "node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" - }, - "node-os-utils": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/node-os-utils/-/node-os-utils-1.3.5.tgz", - "integrity": "sha512-bIJIlk+hA+7/ATnu3sQMtF697iw9T/JksDhKMe9uENG0OhzIG7hLM6fbcyu18bOuajlYWnSlj0IhDo2q7k0ebg==" - }, - "prism-media": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/prism-media/-/prism-media-1.2.9.tgz", - "integrity": "sha512-UHCYuqHipbTR1ZsXr5eg4JUmHER8Ss4YEb9Azn+9zzJ7/jlTtD1h0lc4g6tNx3eMlB8Mp6bfll0LPMAV4R6r3Q==" - }, - "require-all": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/require-all/-/require-all-3.0.0.tgz", - "integrity": "sha1-Rz1JcEvjEBFc4ST3c4Ox69hnExI=" - }, - "setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" - }, - "tweetnacl": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", - "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" - }, - "ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==" - } - } -} From cf28333a9431c022335bb75709fea535b0caee5b Mon Sep 17 00:00:00 2001 From: Sophie M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Wed, 12 Jan 2022 11:40:29 -0600 Subject: [PATCH 132/164] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index a15bc7d..96ff73c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -# Anitrox Dev Branch [![forthebadge](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTUiIGhlaWdodD0iMzUiIHZpZXdCb3g9IjAgMCAyNTUgMzUiPjxyZWN0IGNsYXNzPSJzdmdfX3JlY3QiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMTUuMzEiIGhlaWdodD0iMzUiIGZpbGw9IiM4RkM5NjUiLz48cmVjdCBjbGFzcz0ic3ZnX19yZWN0IiB4PSIxMTMuMzEiIHk9IjAiIHdpZHRoPSIxNDEuNjkiIGhlaWdodD0iMzUiIGZpbGw9IiM0MTlCNUEiLz48cGF0aCBjbGFzcz0ic3ZnX190ZXh0IiBkPSJNMTUuNjkgMjJMMTQuMjIgMjJMMTQuMjIgMTMuNDdMMTYuMTQgMTMuNDdMMTguNjAgMjAuMDFMMjEuMDYgMTMuNDdMMjIuOTcgMTMuNDdMMjIuOTcgMjJMMjEuNDkgMjJMMjEuNDkgMTkuMTlMMjEuNjQgMTUuNDNMMTkuMTIgMjJMMTgu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MTMuNzlRMjMwLjU0IDEzLjQzIDIzMS43NSAxMy40M0wyMzEuNzUgMTMuNDNRMjMyLjU3IDEzLjQzIDIzMy4zOCAxMy42MlEyMzQuMTkgMTMuODAgMjM0LjgwIDE0LjE3TDIzNC44MCAxNC4xN0wyMzQuMDcgMTUuOTNRMjMyLjg3IDE1LjI4IDIzMS43NCAxNS4yOEwyMzEuNzQgMTUuMjhRMjMxLjAzIDE1LjI4IDIzMC43MCAxNS40OVEyMzAuMzggMTUuNzAgMjMwLjM4IDE2LjA0TDIzMC4zOCAxNi4wNFEyMzAuMzggMTYuMzcgMjMwLjc3IDE2LjU0UTIzMS4xNSAxNi43MSAyMzIuMDAgMTYuODlMMjMyLjAwIDE2Ljg5UTIzMi45NiAxNy4xMCAyMzMuNTkgMTcuMzNRMjM0LjIyIDE3LjU2IDIzNC42OCAxOC4wN1EyMzUuMTUgMTguNTggMjM1LjE1IDE5LjQ2TDIzNS4xNSAxOS40NlEyMzUuMTUgMjAuMjEgMjM0LjczIDIwLjgzUTIzNC4zMSAyMS40NCAyMzMuNDcgMjEuODBRMjMyLjYzIDIyLjE3IDIzMS40MyAyMi4xN0wyMzEuNDMgMjIuMTdRMjMwLjQxIDIyLjE3IDIyOS40NSAyMS45MlEyMjguNDggMjEuNjcgMjI3Ljg5IDIxLjI0WiIgZmlsbD0iI0ZGRkZGRiIgeD0iMTI2LjMxIi8+PC9zdmc+)](https://forthebadge.com) +# Anitrox Dev Branch # anitrox_unstable This is for the ultra-fresh builds of Anitrox and is **very** unstable. It is only avaliable in Anitrox Central. # These builds are UNSUPPORTED and you will not be able to recieve support if there's a problem. It's best you wait for a new build if you're having a problem. From 157b948416e94d50cadf458a4989f94e6c8c65f0 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Wed, 12 Jan 2022 13:13:23 -0600 Subject: [PATCH 133/164] Anitrox said to commit these changes --- .gitignore | 1 + commands/8ball.js | 4 ++-- commands/info.js | 5 ++--- start.js | 4 +--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 35cef7a..9613f8a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules +.vscode package-lock.json releasenotes.txt config.json \ No newline at end of file diff --git a/commands/8ball.js b/commands/8ball.js index 94c73fd..3f6c068 100644 --- a/commands/8ball.js +++ b/commands/8ball.js @@ -25,7 +25,7 @@ module.exports = { "color": 13632027, "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 by IDeletedSystem64" + "text": "placeholder" } } } @@ -35,7 +35,7 @@ module.exports = { "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" + "text": "placeholder" }, "fields": [ diff --git a/commands/info.js b/commands/info.js index 1b3231c..7d8b53c 100644 --- a/commands/info.js +++ b/commands/info.js @@ -3,7 +3,7 @@ module.exports = { name: 'info', description: 'Shows bot and host information', - execute(client, message, args, footer) { + execute(client, message, args) { const { build, release } = require('../config.json'); function Uptime(uptimetype) { let totalSeconds = (uptimetype / 1000); @@ -23,7 +23,6 @@ module.exports = { return uptime; }; - const os = require("os") var osu = require('node-os-utils') var cpu = osu.cpu @@ -33,7 +32,7 @@ module.exports = { "color": 9442302, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": footer + "text": "meow" }, "thumbnail": { "url": ("https://cdn.discordapp.com/avatars/576805923964715018/20f9b2815850dbbebd6d858308c90330.webp") diff --git a/start.js b/start.js index 4b8e79d..c80c52e 100644 --- a/start.js +++ b/start.js @@ -3,7 +3,7 @@ console.log("Let's get started") const fs = require('fs'); const Discord = require('discord.js'); const { MessageActionRow, MessageButton } = require('discord.js') -const { build, release, prefix, token } = require('./config.json'); +const { build, release, prefix, token, footer } = require('./config.json'); const os = require("os"); const activities_list = [ @@ -21,8 +21,6 @@ const activities_list = [ 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 = "Anitrox, IDeletedSystem64 2018-2022" const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); From 8ba415977df2882a3b811d2714c5ca48e68b14f9 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Fri, 14 Jan 2022 16:00:43 -0600 Subject: [PATCH 134/164] Update package JSON, Version in config --- .gitignore | 2 +- config-example.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9613f8a..dc2fb20 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -node_modules +node_modules/ .vscode package-lock.json releasenotes.txt diff --git a/config-example.json b/config-example.json index 0d63523..4143d60 100644 --- a/config-example.json +++ b/config-example.json @@ -3,5 +3,5 @@ "token": "IM SO EXCITED ABOUT BURGER", "ownerID": "309427567004483586", "release": "anitrox_dev", - "build": "1.0 Prerelease, Based off commit 0757e1f" + "build": "Public Test Build 4" } diff --git a/package.json b/package.json index 3676fe6..45ac005 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,6 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, - "author": "Anthony Mondz", + "author": "IDeletedSystem64", "license": "ISC" } From 4d5ee92a56f83d5a1bc053e51660c6173668262c Mon Sep 17 00:00:00 2001 From: Sophie Mondz <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 3 Feb 2022 17:17:05 -0600 Subject: [PATCH 135/164] Change thumbnail to use the bots current avatar --- commands/info.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/info.js b/commands/info.js index 7d8b53c..21fd2c5 100644 --- a/commands/info.js +++ b/commands/info.js @@ -26,6 +26,7 @@ module.exports = { const os = require("os") var osu = require('node-os-utils') var cpu = osu.cpu + let botAvatar = client.user.displayAvatarURL() const embed = { "title": "<:AnitroxInfo:809651936831733791> Information about Anitrox", "description": "Everything you've ever wanted to know about Anitrox!", From 7d976e38e7f1ae47524e71211101a4b795d34cb9 Mon Sep 17 00:00:00 2001 From: Sophie Mondz <47640864+IDeletedSystem64@users.noreply.github.com> Date: Thu, 3 Feb 2022 17:28:42 -0600 Subject: [PATCH 136/164] Update README.md --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index aa439c3..e6472c1 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,3 @@ # anitrox_unstable This is for the ultra-fresh builds of Anitrox and is **very** unstable. It is only avaliable in Anitrox Central. # These builds are UNSUPPORTED and you will not be able to recieve support if there's a problem. It's best you wait for a new build if you're having a problem. - -# Anitrox Public Test Release -# aka anitrox_ptb -These are the freshest off the vine stableish releases, And can be added to any server. -# These builds have limited support, If there's an issue with it in your server, Make sure you are running the command properly or if it's a actual issue with code open a GitHub issue. From 801539e4ace770701d6e0b621287992767218346 Mon Sep 17 00:00:00 2001 From: Sophie Mondz Date: Mon, 28 Feb 2022 12:56:15 -0600 Subject: [PATCH 137/164] Set the example userid --- config-example.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-example.json b/config-example.json index 4143d60..cacf3ee 100644 --- a/config-example.json +++ b/config-example.json @@ -1,7 +1,7 @@ { "prefix": "n!", "token": "IM SO EXCITED ABOUT BURGER", - "ownerID": "309427567004483586", + "ownerID": "MY FAVORITE COLOR IS TWELVE", "release": "anitrox_dev", "build": "Public Test Build 4" } From 418878981f1c2b772bdd5d178342a030c7885df4 Mon Sep 17 00:00:00 2001 From: Sophie Mondz Date: Mon, 28 Feb 2022 12:58:34 -0600 Subject: [PATCH 138/164] A proper readme --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e6472c1..a69a449 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ -# Anitrox Dev Branch -# anitrox_unstable -This is for the ultra-fresh builds of Anitrox and is **very** unstable. It is only avaliable in Anitrox Central. -# These builds are UNSUPPORTED and you will not be able to recieve support if there's a problem. It's best you wait for a new build if you're having a problem. +# Anitrox Dev Branch (anitrox_unstable) +This is the development branch for Anitrox, If you want those fresh hot Anitrox builds right from the oven, you've come to the right place! +# Dependencies to get started +To begin, you will need to satisfy the following dependencies: +Node.JS: 14 +npm: 6.14 +# Let's get this ~~party~~ bot started! +For first time start up, You will need to run ``npm install`` to install the needed npm packages. +Afterwards fill out the ``config-example.json`` and rename it to ``config.json``, then just run ``node start.js``! +⚠️ If you don't specify the Owner ID, Some commands such as the bot controls will be unusable! +# Support +Anitrox isn't really supported but you can get help from the Discord server if you need any: discord.gg/5nQtMNpf43 From 9ac012b995d252a24bda285be7fa71e1ef33ce08 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 17 Mar 2022 18:15:39 -0500 Subject: [PATCH 139/164] Change build --- config-example.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config-example.json b/config-example.json index cacf3ee..9f45dc7 100644 --- a/config-example.json +++ b/config-example.json @@ -3,5 +3,5 @@ "token": "IM SO EXCITED ABOUT BURGER", "ownerID": "MY FAVORITE COLOR IS TWELVE", "release": "anitrox_dev", - "build": "Public Test Build 4" -} + "build": "Stable" +} \ No newline at end of file From 493680d03863b57efa91a77d1a92228b3e840d33 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 17 Mar 2022 18:17:07 -0500 Subject: [PATCH 140/164] Remove unused icons.json and releasenotes --- icons.json | 7 ------- releasenotes.txt | 0 2 files changed, 7 deletions(-) delete mode 100644 icons.json delete mode 100644 releasenotes.txt diff --git a/icons.json b/icons.json deleted file mode 100644 index 39907aa..0000000 --- a/icons.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "denied": "<:AnitroxDenied:809651936642203668>", - "error": "<:AnitroxError:809651936563429416> ", - "info": "<:AnitroxInfo:809651936831733791>", - "success": "<:AnitroxSuccess:809651936819019796>", - "warning": "<:AnitroxWarning:809651934717804555>" -} \ No newline at end of file diff --git a/releasenotes.txt b/releasenotes.txt deleted file mode 100644 index e69de29..0000000 From 057b8f66bd6c8ee6d2606dda1e76f8a3eaa2d55b Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 17 Mar 2022 21:47:23 -0500 Subject: [PATCH 141/164] Move statuses and footer to JSON, Simplify errors --- start.js | 51 +++++++++++++++------------------------------------ 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/start.js b/start.js index c80c52e..8ed2c8e 100644 --- a/start.js +++ b/start.js @@ -1,23 +1,10 @@ - console.log("Let's get started") const fs = require('fs'); const Discord = require('discord.js'); const { MessageActionRow, MessageButton } = require('discord.js') -const { build, release, prefix, token, footer } = require('./config.json'); +const { statuses, build, release, prefix, token, footerTxt } = require('./config.json'); const os = require("os"); -const activities_list = [ - "with np!help", - "with Sophie!", - "Trans Rights!", - "in your computer", - "with my internet router", - "ssh: system64@borkeonv2", - "YouTube", - "with source code", - "Visual Studio Code", - "Running Anitrox" + build -]; console.log('Starting! This should only take a moment.') const client = new Discord.Client(); client.commands = new Discord.Collection(); @@ -31,7 +18,7 @@ for (const file of commandFiles) { client.on("error", (e) => console.log("[ERROR]" + error(e))); client.on("warn", (e) => ("[WARN]" + warn(e))); -// Log errors and warnings ton console. +// Log errors to console. client.once('ready', () => { console.clear() console.log(' ___ _ __ '); @@ -42,12 +29,12 @@ client.once('ready', () => { console.log(release + ", " + build) console.log("All Systems Go. | Anitrox by IDeletedSystem64 | meow meow :3"); }); -// does a cool logo thingy on start up + setInterval(() => { - const index = Math.floor(Math.random() * (activities_list.length - 1) + 1); - client.user.setActivity(activities_list[index]); + const index = Math.floor(Math.random() * (statuses.length - 1) + 1); + client.user.setActivity(statuses[index]); }, 20000); -// runs some math to randomly pick a status from activites_list, this may need tuning when statuses are added/removed to make it more random (as it may just land on the current status instead) +// Picks a status from the config file client.on('message', message => { if (!message.content.startsWith(prefix) || message.author.bot) return; @@ -57,30 +44,22 @@ client.on('message', message => { if (!client.commands.has(command)) return; try { - client.commands.get(command).execute(client, message, args, Discord, footer); + client.commands.get(command).execute(client, message, args, footerTxt, Discord); } catch (error) { console.stack + const usr = message.author; const embed = { - "title": "<:AnitroxError:809651936563429416> **Well that happened...**", + "title": "<:AnitroxError:809651936563429416> **Something went wrong!**", + "description": error.stack, "color": 13632027, "footer": { - "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": footer - }, - "fields": [ - { - "name": "**What Happened?**", - "value": "The command you tried to run failed to execute due to an error." - }, - { - "name": "Error Info", - "value": error.stack - } - ] - }; + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt + } + }; message.channel.send({ embed }); // tries to run the executed command, if fails it will send a error msg with the error stack } }); -client.login(token); +client.login(token); \ No newline at end of file From 2c129c0e61747a217b0a524dbad64798f2f188d3 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 17 Mar 2022 21:48:56 -0500 Subject: [PATCH 142/164] Simplify embed --- commands/ping.js | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/commands/ping.js b/commands/ping.js index e8a4ac0..bff4bc0 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -1,17 +1,19 @@ module.exports = { name: "ping", description: "Gets bot ping", - execute(client, message, args) { + execute(client, message) { + const {footerTxt} = require('../config.json'); + const embed = { "title": ":ping_pong: Ping", - "color": 9442302, - "fields": [ - { - "name": "Ping is " + client.ws.ping + " ms", - "value": "If this is more than 350ms there may be a problem!" - } - ] -}; -message.channel.send({ embed }); + "description": "**Pong!** " + client.ws.ping + " ms.", + "color": 9442302, + "footer": { + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt + } +} + + message.channel.send({ embed }); } }; From 165587b3cbf733b272747b88d9ceffb71803a087 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 17 Mar 2022 21:49:52 -0500 Subject: [PATCH 143/164] Move statuses and footer --- config-example.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/config-example.json b/config-example.json index 9f45dc7..a04a7db 100644 --- a/config-example.json +++ b/config-example.json @@ -3,5 +3,22 @@ "token": "IM SO EXCITED ABOUT BURGER", "ownerID": "MY FAVORITE COLOR IS TWELVE", "release": "anitrox_dev", - "build": "Stable" + "build": "Stable", + "footerTxt": "Anitrox, made with <3 by IDeletedSystem64 | 2018-2022", + + "statuses": [ + "with np!help", + "with Sophie!", + "Trans Rights!", + "in your computer", + "with my internet router", + "ssh: system64@borkeonv2", + "YouTube", + "with source code", + "Visual Studio Code", + "Minecraft", + "with the network connections.", + "VLC Media Player", + "Chromium" +] } \ No newline at end of file From 2be9ee8b698e0a05fc73058d43e2529036c2e30e Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 17 Mar 2022 21:55:08 -0500 Subject: [PATCH 144/164] ALL MY CODE KEEPS BLOWING UP! --- start.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/start.js b/start.js index 8ed2c8e..f59d261 100644 --- a/start.js +++ b/start.js @@ -1,11 +1,10 @@ -console.log("Let's get started") const fs = require('fs'); const Discord = require('discord.js'); const { MessageActionRow, MessageButton } = require('discord.js') const { statuses, build, release, prefix, token, footerTxt } = require('./config.json'); const os = require("os"); -console.log('Starting! This should only take a moment.') +console.log('Starting!') const client = new Discord.Client(); client.commands = new Discord.Collection(); @@ -27,7 +26,7 @@ client.once('ready', () => { console.log(' / ___ |/ / / / / /_/ / / /_/ /> < '); console.log('/_/ |_/_/ /_/_/\__/_/ \____/_/|_| ') console.log(release + ", " + build) - console.log("All Systems Go. | Anitrox by IDeletedSystem64 | meow meow :3"); + console.log("All Systems Go. | Anitrox by IDeletedSystem64 | ALL MY CODE KEEPS BLOWING UP!"); }); setInterval(() => { From 9940954ae9e8ac0a394b6cdad23078c69c7c792d Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 17 Mar 2022 23:11:49 -0500 Subject: [PATCH 145/164] Remove statuses --- commands/userinfo.js | 52 +++++++++++++++++++------------------------- 1 file changed, 22 insertions(+), 30 deletions(-) diff --git a/commands/userinfo.js b/commands/userinfo.js index c8c05ed..ffe834b 100644 --- a/commands/userinfo.js +++ b/commands/userinfo.js @@ -1,31 +1,17 @@ module.exports = { - name: "userinfo", - 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", + syntax: "", execute(client, message, args) { - - - - - - - const user = message.mentions.users.first(); - var i=0;i Date: Thu, 17 Mar 2022 23:32:20 -0500 Subject: [PATCH 146/164] Change math formula, add new answers --- commands/8ball.js | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/commands/8ball.js b/commands/8ball.js index 3f6c068..499359b 100644 --- a/commands/8ball.js +++ b/commands/8ball.js @@ -1,31 +1,42 @@ module.exports = { name: '8ball', description: 'Ask Anitrox a question, any question! and they will answer it!', + syntax: ["[Question]"], execute(client, message, args) { + const {footerTxt} = require('../config.json'); const answers = [ "Heck no!", "Are you crazy!? No!", "Don't even think about it.", "No! You might bork something!", "Heck yeah", - "YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE", + "I don't think so.", + "Let me think about it first. No.", + "Let me think about it first. Yeah", + "Let me think about it first. Maybe", + "I don't know man", + "Maybe", + "I'm not sure", + "Ask again", + "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 🙃 + "Go for it! :smile:", + "Good idea!", + "Sure" ] - const index = Math.floor(Math.random() * (answers.length - 1) + 1); + const index = Object.keys(answers)[Math.floor(Math.random() * Object.keys(answers).length)]; var question = args.slice(0).join(" ") var answer = (answers[index]); console.log(args); if (!question) { const embed = { - "title": "<:AnitroxError:809651936563429416> Well that happened...", - "description": "You need to specify a question!", + "title": "<:AnitroxError:809651936563429416> **Something went wrong!**", + "description": "You need to ask a", "color": 13632027, "footer": { - "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "placeholder" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt } } } @@ -34,8 +45,8 @@ module.exports = { "description": "Your question: **" + question + "**", "color": 9442302, "footer": { - "icon_url": "https://images-ext-2.discordapp.net/external/-qaO3jaZLojhEnjrHiKABdXD7gLWqFvdUqHdskNGWhE/https/media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "placeholder" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "fields": [ From f6cbe2ebd6d267e1c83546b62edc51cc296fa0d0 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 17 Mar 2022 23:47:04 -0500 Subject: [PATCH 147/164] Rearrange embed --- commands/info.js | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/commands/info.js b/commands/info.js index 21fd2c5..648adcd 100644 --- a/commands/info.js +++ b/commands/info.js @@ -1,10 +1,11 @@ +const { Client, ClientUser } = require('discord.js'); module.exports = { name: 'info', description: 'Shows bot and host information', execute(client, message, args) { - const { build, release } = require('../config.json'); + const { build, release, footerTxt } = require('../config.json'); function Uptime(uptimetype) { let totalSeconds = (uptimetype / 1000); @@ -29,14 +30,14 @@ module.exports = { let botAvatar = client.user.displayAvatarURL() const embed = { "title": "<:AnitroxInfo:809651936831733791> Information about Anitrox", - "description": "Everything you've ever wanted to know about Anitrox!", + "description": "Everything you've ever wanted to know about your favorite bot, Anitrox!", "color": 9442302, "footer": { - "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "meow" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "thumbnail": { - "url": ("https://cdn.discordapp.com/avatars/576805923964715018/20f9b2815850dbbebd6d858308c90330.webp") + "url": client.user.displayAvatarURL() }, "fields": [ { @@ -45,19 +46,33 @@ module.exports = { }, { "name": "Release Type", - "value": release + "value": release, + "inline": true }, { "name": "Release Version", - "value": build + "value": build, + "inline": true }, { "name": "Uptime", - "value": Uptime(client.uptime) + "value": Uptime(client.uptime), + "inline": true }, { "name": "<:memory:793536677737136178> Bot Memory Usage", - "value": (Math.round(process.memoryUsage().heapUsed / 1024 / 1024 * 100) / 100) + " MiB" + "value": (Math.round(process.memoryUsage().heapUsed / 1024 / 1024 * 100) / 100) + " MiB", + "inline": true + }, + { + "name": "Bot Name", + "value": client.user.tag, + "inline": true + }, + { + "name": "Bot ID", + "value": "``" + client.user.id + "``", + "inline": true }, { "name": "<:hostinfo:793529505263517747> Host Information", From 21bc96157414a4289a1ac1937b378e3f6c1c9e35 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Thu, 17 Mar 2022 23:47:37 -0500 Subject: [PATCH 148/164] On second thought, that ID looks baaad --- commands/userinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/userinfo.js b/commands/userinfo.js index ffe834b..d8adc8a 100644 --- a/commands/userinfo.js +++ b/commands/userinfo.js @@ -44,7 +44,7 @@ module.exports = { }, { "name": "User ID", - "value": "```" + user.id + "```" + "value": "``" + user.id + "``" }, { "name": "User Joined Discord", From 78b409c3c1a09eebd783a17d1dcf29358c479655 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Fri, 18 Mar 2022 11:04:08 -0500 Subject: [PATCH 149/164] Change error embed footer, additional comments --- start.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/start.js b/start.js index f59d261..3c3169f 100644 --- a/start.js +++ b/start.js @@ -34,9 +34,11 @@ setInterval(() => { client.user.setActivity(statuses[index]); }, 20000); // Picks a status from the config file -client.on('message', message => { - if (!message.content.startsWith(prefix) || message.author.bot) return; +// Begin Command Handler +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(); @@ -53,11 +55,11 @@ client.on('message', message => { "color": 13632027, "footer": { "icon_url": message.author.displayAvatarURL(), - "text": footerTxt + "text": footerTxt + " | Something went wrong! :(" } }; message.channel.send({ embed }); - // tries to run the executed command, if fails it will send a error msg with the error stack +// End Command Handler } }); From 8e670215861a2d870571001e5f8343178dd5ed23 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Fri, 18 Mar 2022 14:54:14 -0500 Subject: [PATCH 150/164] Change layout and remove dev --- commands/invite.js | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/commands/invite.js b/commands/invite.js index 77a02f1..d2d184a 100644 --- a/commands/invite.js +++ b/commands/invite.js @@ -2,15 +2,17 @@ module.exports = { name: 'invite', - description: 'Sends invite to add the bot to a server.', + description: 'Add Anitrox to your beautiful server!', + syntax: [], execute(client, message) { + const {footerTxt} = require('../config.json'); const embed = { - "title": "Add Anitrox to your Server", + "title": "Add Anitrox to your Server!", "description": "Weather you want stable, or that squeaky clean fresh PTB build, we gotchu.", "color": 9442302, "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "thumbnail": { "url": "https://cdn.discordapp.com/attachments/803658122299572255/814352905394061322/anitroxaddsrvr.png" @@ -18,19 +20,15 @@ module.exports = { "fields": [ { "name": "Anitrox", - "value": "This is the stable main build. \n https://discord.com/oauth2/authorize?client_id=576805923964715018&scope=bot&permissions=8" + "value": "Get the ripe off the vine Anitrox! \n [Add Anitrox to your server](https://discord.com/oauth2/authorize?client_id=576805923964715018&scope=bot&permissions=8)" }, { "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." + "value": "So you want the fresh and hot builds straight from the oven? We gotchu \n [Add Anitrox PTB to your server](https://discord.com/oauth2/authorize?client_id=489125054261755925&scope=bot&permissions=66186303)" }, { "name": "Need help?", - "value": "You can join the support server here: bit.ly/anitrox-help" + "value": "Come join the Anitrox Support Server, for support and much more!\n [Anitrox Support Server](https://discord.gg/grebRGsBZ3)" } ] From 809284e8f8d42abb4234e581efe0a633f25c9a21 Mon Sep 17 00:00:00 2001 From: Sophie Mondz Date: Fri, 18 Mar 2022 21:03:54 -0500 Subject: [PATCH 151/164] Create commands.md --- commands.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 commands.md diff --git a/commands.md b/commands.md new file mode 100644 index 0000000..713e94b --- /dev/null +++ b/commands.md @@ -0,0 +1,4 @@ +# Anitrox Command List +|Command|Arguments | +|-------|----------| +|Help |none | From db045972c15e6190592aeb0864435efcb3219ef2 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Fri, 18 Mar 2022 21:26:36 -0500 Subject: [PATCH 152/164] Add ping locations --- config-example.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/config-example.json b/config-example.json index a04a7db..b6e2ed2 100644 --- a/config-example.json +++ b/config-example.json @@ -20,5 +20,18 @@ "with the network connections.", "VLC Media Player", "Chromium" +], +"locations": [ +"Microsoft", +"LinusTechTips", +"Linus Torvalds", +"borkeonv2", +"Google", +"192.168.1.1", +"127.0.0.1", +"Sophie's computer", +"Mars", +"Elon Musk", +"TMC Software" ] } \ No newline at end of file From bdd45a7e4f0877489adee594ac54c990e8ce1177 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Fri, 18 Mar 2022 21:27:09 -0500 Subject: [PATCH 153/164] Redo help embed --- commands/help.js | 68 +++++++++++++++++++----------------------------- 1 file changed, 27 insertions(+), 41 deletions(-) diff --git a/commands/help.js b/commands/help.js index 0cf7b16..bed475e 100644 --- a/commands/help.js +++ b/commands/help.js @@ -1,44 +1,30 @@ module.exports = { - - name: 'help', - description: '', - execute(client, message, args) { + + name: 'help', + description: 'Get help on anything from commands, to what the bot does! just not your homework..', + syntax: '', - const messageAuthor = message.author -const embed = { - "title": "<:NyabotInfo:697145463350231040> **HELP** " + messageAuthor.username + " **THE BOT IS ON FIRE!** ", - "color": 9442302, - "description": "More commands are soon to come, stay tuned!", - "footer": { - "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" - }, - "fields": [ - { - "name": "Utility Commands", - "value": "`help` ``info`` ``userinfo`` ``ping`` ``invite`` ``avatar``" - }, - { - "name": "Server Management Commands", - "value": "`setnick`" - }, - { - "name": "Action Commands", - "value": "`hug` `poke` `bonk` `slap` `pat` `kiss` `lick` `cuddle` `nom` `leskiss` `snuggle`" - }, - { - "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" - }, - { - "name": "<:AnitroxInfo:809651936831733791> **The bot isn't yet fully finished. There's more to come! if I don't rewrite from scratch that is 😛**" - } + execute(client, message, args) { + const {footerTxt} = require('../config.json'); - ] - }; - message.channel.send({ embed }); -} -}; \ No newline at end of file + const Embed = { + "title": "HELP! SEYMOUR! THE BOT IS ON FIRE!", + "description": "Get help on anything from commands, to what the bot does! just not your homework..", + "color": 9442302, + "footer": { + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt + " | No mother it's just the northern lights" + }, + "fields": [ + { + "name": "Command List", + "value": "[Click here!](https://github.com/IDeletedSystem64/anitrox/blob/dev/commands.md)" + }, + { + "name": "...Or is the bot actually on fire?", + "value": "Join the [support server!](https://discord.gg/grebRGsBZ3)" + } + ] + }; + message.channel.send({ embed: Embed }); +}}; \ No newline at end of file From b2f169e05fe6cb6aa2267dcb09b1b5cf87bec0fd Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Fri, 18 Mar 2022 21:28:05 -0500 Subject: [PATCH 154/164] Remove server creation (maybe readded in future.) --- commands/createserver.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 commands/createserver.js diff --git a/commands/createserver.js b/commands/createserver.js deleted file mode 100644 index d5f59a7..0000000 --- a/commands/createserver.js +++ /dev/null @@ -1,19 +0,0 @@ -module.exports = { - name: 'serversetup', - description: 'Sets up channels and roles for your newly created server', - execute(client, message, args) { - const start = { - "title": " Beginning Server Setup...", - "description": "This will set up the following:\nStaff Roles\nStaff Channels\nServer Channels\nThis will not set up:\nAdvertisements (if applicable)\nModeration bots\n\nClick :white_check_mark: to Continue\nClick :x: to Cancel", - "color": 12390624, - "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" - } - }; - // Embeds - - message.channel.send({ embed: start }); - } - } -// This ain't even finished yet lmao \ No newline at end of file From b05a7335f84c5a945d7e93503f9b1d84cff74a88 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Fri, 18 Mar 2022 21:28:59 -0500 Subject: [PATCH 155/164] buttontest wasn't intended for stable to begin with. --- commands/buttontest.js | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 commands/buttontest.js diff --git a/commands/buttontest.js b/commands/buttontest.js deleted file mode 100644 index 643cd22..0000000 --- a/commands/buttontest.js +++ /dev/null @@ -1,16 +0,0 @@ -module.exports = { - name: "buttontest", - description: "buttontest", - execute(client, message, args) { -const buttonembed = { - "title": "buttontest", - "description": "anitrox buttontest", - "color": 9442302, - "footer": { - "icon_url": "https://cdn.discordapp.com/embed/avatars/0.png", - "text": "footertext" - } -}; -message.channel.send({ embed: buttonembed }); - } -} \ No newline at end of file From 8f1583b8dac7ec7d607e47e71d59363216d50a43 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Fri, 18 Mar 2022 21:29:44 -0500 Subject: [PATCH 156/164] Online status adding may be readded in the future. --- commands/addstatus.js | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 commands/addstatus.js diff --git a/commands/addstatus.js b/commands/addstatus.js deleted file mode 100644 index 2469412..0000000 --- a/commands/addstatus.js +++ /dev/null @@ -1,26 +0,0 @@ -const { Message } = require('discord.js'); -const fs = require('fs'); -module.exports = { - name: 'addstatus', - description: 'Adds a new custom status to Anitrox', - async execute(message, args) { - const embed = { - "title": "<:AnitroxSuccess:809651936819019796> Status Added", - "color": 3585665, - "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 by IDeletedSystem64" - }, - "fields": [ - { - "name": "Successfully added status!", - "value": "Added status " + args.slice(0,2) - } - ] - }; - const statuses = JSON.parse((await fs.promises.readFile('./statuses.json')).toString()) - statuses.push(args.slice(0,2)) - await fs.promises.writeFile('./statuses.json', JSON.stringify(ranges)); - Message.channel.send( {embed} ) - } - } \ No newline at end of file From 1ce206307121fbd224fe4ab4f809e3f0c48c3ed1 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Fri, 18 Mar 2022 21:31:07 -0500 Subject: [PATCH 157/164] Remove ban: Moderation is far from complete, I'd rather wait until moderation is actually added to readd banning --- commands/ban.js | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 commands/ban.js diff --git a/commands/ban.js b/commands/ban.js deleted file mode 100644 index c8549fb..0000000 --- a/commands/ban.js +++ /dev/null @@ -1,31 +0,0 @@ -const { GuildMember } = require("discord.js"); - -module.exports = { - name: "ban", - description: "Bans an user, This requires that you have ``BAN_MEMBERS`` or ``ADMINISTRATOR``", - execute(client, message, args) { - const banembed = { - "title": "<:usersuccess:793885338250641469> User Banned", - "description": "User ${user.tag} was banned!", - "color": 5736060, - "fields": [ - { - "name": "Reason", - "value": "reason" - } - ] - }; - const user = message.mentions.users.first(); - if (user) { - const member = message.guild.member(user); - if (member) { - member - .ban({ - reason: 'reason', - }) - .then(() => - - message.channel.send("bye lmao")); - - } - }}} \ No newline at end of file From d47a280bad1b0b0e79a80818810e4a1ce8713b0a Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Sat, 19 Mar 2022 10:43:33 -0500 Subject: [PATCH 158/164] Now pinging locations. --- commands/ping.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/commands/ping.js b/commands/ping.js index bff4bc0..bfd0020 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -2,11 +2,13 @@ module.exports = { name: "ping", description: "Gets bot ping", execute(client, message) { - const {footerTxt} = require('../config.json'); + const {footerTxt, locations} = require('../config.json'); - const embed = { + const index = Math.floor(Math.random() * (locations.length -1 ) + 1); + PingLocation = locations[index] + const embed = { "title": ":ping_pong: Ping", - "description": "**Pong!** " + client.ws.ping + " ms.", + "description": "**Pong!** We pinged **" + PingLocation + "** and got " + client.ws.ping + " ms.", "color": 9442302, "footer": { "icon_url": message.author.displayAvatarURL(), From 71f582403cb22d7e88f121f83cf335d341a7c9e9 Mon Sep 17 00:00:00 2001 From: Sophie Mondz Date: Sat, 19 Mar 2022 19:06:20 -0500 Subject: [PATCH 159/164] Update commands.md --- commands.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/commands.md b/commands.md index 713e94b..90f1f77 100644 --- a/commands.md +++ b/commands.md @@ -1,4 +1,11 @@ # Anitrox Command List +<> = Optionable +
+[] = Required + |Command|Arguments | |-------|----------| |Help |none | +|8ball |[Question]| +| +...I need to come back and finish this From 26d8a4f60d37f6e6be684b2ed4ad7fda01a496ee Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Mon, 21 Mar 2022 10:27:50 -0500 Subject: [PATCH 160/164] Rename userinfo to uinfo --- commands/userinfo.js | 58 -------------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 commands/userinfo.js diff --git a/commands/userinfo.js b/commands/userinfo.js deleted file mode 100644 index d8adc8a..0000000 --- a/commands/userinfo.js +++ /dev/null @@ -1,58 +0,0 @@ -module.exports = { - name: "userinfo", - description: "Gets info about an user, such as ID, Discord Join date and more", - syntax: "", - execute(client, message, args) { - const {footerTxt} = require('../config.json'); - let user = message.mentions.users.first() || args[0] - if (!user) user = message.author - const embed = { - "title": "Everything you've ever wanted to know about " + user.username + "!", - "color": 9442302, - "footer": { - "icon_url": message.author.displayAvatarURL(), - "text": footerTxt - }, - - "thumbnail": { - "url": user.displayAvatarURL() - }, - "fields": [ - - { - "name": "Username", - "value": user.username, - "inline": true - }, - { - "name": "Discriminator", - "value": user.discriminator, - "inline": true - }, - { - "name": "Full Username", - "value": user.tag, - "inline": true - }, - { - "name": "User Profile Picture", - "value": user.displayAvatarURL() - }, - { - "name": "User Status", - value: user.presence.status - }, - { - "name": "User ID", - "value": "``" + user.id + "``" - }, - { - "name": "User Joined Discord", - "value": user.createdAt, - inline: true - }, - ] - }; - message.channel.send({ embed: embed }); - } - } From 17969f62a81cf5c032ce81688ff42d7e60926ea7 Mon Sep 17 00:00:00 2001 From: Sophie Mondz Date: Mon, 21 Mar 2022 10:28:55 -0500 Subject: [PATCH 161/164] Rename userinfo to uinfo --- commands/uinfo.js | 58 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 commands/uinfo.js diff --git a/commands/uinfo.js b/commands/uinfo.js new file mode 100644 index 0000000..0cb944f --- /dev/null +++ b/commands/uinfo.js @@ -0,0 +1,58 @@ +module.exports = { + name: "uinfo", + description: "Gets info about an user, such as ID, Discord Join date and more", + syntax: "", + execute(client, message, args) { + const {footerTxt} = require('../config.json'); + let user = message.mentions.users.first() || args[0] + if (!user) user = message.author + const embed = { + "title": "Everything you've ever wanted to know about " + user.username + "!", + "color": 9442302, + "footer": { + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt + }, + + "thumbnail": { + "url": user.displayAvatarURL() + }, + "fields": [ + + { + "name": "Username", + "value": user.username, + "inline": true + }, + { + "name": "Discriminator", + "value": user.discriminator, + "inline": true + }, + { + "name": "Full Username", + "value": user.tag, + "inline": true + }, + { + "name": "User Profile Picture", + "value": user.displayAvatarURL() + }, + { + "name": "User Status", + value: user.presence.status + }, + { + "name": "User ID", + "value": "``" + user.id + "``" + }, + { + "name": "User Joined Discord", + "value": user.createdAt, + inline: true + }, + ] + }; + message.channel.send({ embed: embed }); + } + } From 978ccc323143c9cc3593d81da1bd96d8ce02c14c Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Mon, 21 Mar 2022 10:37:04 -0500 Subject: [PATCH 162/164] Change avatar to get from message author if no user is mentioned --- commands/avatar.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/commands/avatar.js b/commands/avatar.js index 061104c..3741e6e 100644 --- a/commands/avatar.js +++ b/commands/avatar.js @@ -2,15 +2,17 @@ module.exports = { name: "avatar", description: "Gets a users avatar.", execute(client, message, args) { - const user = message.mentions.users.first() + user = message.mentions.users.first() + if (!user) user = message.author + + const {footerTxt} = require('../config.json'); const embed = { - "title": ":frame_photo: " + user.username + "'s Avatar", - "description": "Here is " + user.username + "'s avatar!", + "title": ":frame_photo: " + user.username + "'s Beautiful Avatar!", "color": 9442302, "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": user.displayAvatarURL() From 9dbab772fced2cfc9dec8eaecb8e66f3b283d45a Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Mon, 21 Mar 2022 10:48:51 -0500 Subject: [PATCH 163/164] Finish command list --- commands.md | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/commands.md b/commands.md index 90f1f77..4a99be3 100644 --- a/commands.md +++ b/commands.md @@ -3,9 +3,25 @@
[] = Required -|Command|Arguments | -|-------|----------| -|Help |none | -|8ball |[Question]| -| -...I need to come back and finish this +|Command|Arguments |Description | +|-------|----------|------------| +|Help |none |Help? Help!!| +|8ball |[Question]|Ask a question, Any question! | +|avatar |\ |Get a users beautiful avatar | +|bonk |[Member] | Bonk, no horny. | +|cheese |\| Cheese.| +|cuddle |[Member] | Cuddle someone! | +|hug |[Member] | Hug someone! | +|info |none | Information about the bot and host. +|invite |none | Invite Anitrox to your server! +|kiss |[Member] | Kiss someone! | +|leskiss|[Member] | Lesbain kiss (Suggested by Emi) +|lick |[Member] | Did you just lick me!? +|nom |[Member] | Nom someone or something +|opensource| none | Source code for Anitrox +|pat |[Member] | Pat someone! +|ping |none | Ping Elon Musk! or Mars! nah jk, Discord. +|poke |[Member] | Poke someone! +|slap |[Member] | Slap someone :( +|snuggle|[Member] | Snuggle someone! +|uinfo |[Member] | Information about an user \ No newline at end of file From e4a64c51bfab3f4d6b7657e6d2ba4e712d1defd7 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Mon, 21 Mar 2022 12:55:29 -0500 Subject: [PATCH 164/164] Update all the commands to use new footer --- commands/bonk.js | 8 ++++---- commands/cheese.js | 10 ++++------ commands/cuddle.js | 9 ++++----- commands/hug.js | 12 ++++++------ commands/kiss.js | 6 +++--- commands/leskiss.js | 6 +++--- commands/lick.js | 8 ++++---- commands/nom.js | 6 +++--- commands/opensource.js | 7 ++++--- commands/pat.js | 10 +++++----- commands/poke.js | 8 ++++---- commands/slap.js | 10 +++++----- commands/snuggle.js | 6 +++--- 13 files changed, 52 insertions(+), 54 deletions(-) diff --git a/commands/bonk.js b/commands/bonk.js index 11e0fea..99da59f 100644 --- a/commands/bonk.js +++ b/commands/bonk.js @@ -3,8 +3,8 @@ module.exports = { name: "bonk", description: "Bonks an user!", execute(client, message, args) { - const messageAuthor = message.author const taggedUser = message.mentions.users.first(); + const {footerTxt} = require('../config.json'); const errorembed = { "title": "<:AnitroxError:809651936563429416> Error", "color": 13632027, @@ -27,11 +27,11 @@ module.exports = { const embed = { "title": " Bonk", - "description": "<@" + taggedUser + ">" + " You have been bonked by <@" + messageAuthor + ">!", + "description": "<@" + taggedUser + ">" + " You have been bonked by <@" + message.author + ">!", "color": 9442302, "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": "https://cdn.discordapp.com/attachments/793537380330111028/801194481549312060/HappyBONK.gif" diff --git a/commands/cheese.js b/commands/cheese.js index 6f78914..76aae42 100644 --- a/commands/cheese.js +++ b/commands/cheese.js @@ -3,10 +3,8 @@ module.exports = { name: "cheese", description: "Cheese an user, or run just ``n!cheese`` for a surprise :eyes:", execute(client, message, args) { - const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - //--------------------------------- - + const {footerTxt} = require('../config.json'); if(!taggedUser) { return message.channel.send("*slams cheese on desk* Cheese. https://www.youtube.com/watch?v=Or4IE8fkpn4"); @@ -16,11 +14,11 @@ module.exports = { const embed = { "title": ":cheese: Cheesed", - "description": "<@" + taggedUser + ">" + " You got cheesed by " + "<@" + messageAuthor + ">!", + "description": "<@" + taggedUser + ">" + " You got cheesed by " + "<@" + message.author + ">!", "color": 16312092, "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": "https://cdn.discordapp.com/attachments/803658122299572255/812867714368536636/R06325af354168febcafd96b8328b7590.png" diff --git a/commands/cuddle.js b/commands/cuddle.js index 4f08ccf..b518f31 100644 --- a/commands/cuddle.js +++ b/commands/cuddle.js @@ -3,9 +3,8 @@ module.exports = { name: "cuddle", description: "Cuddle an user!", execute(client, message, args) { - const messageAuthor = message.author const taggedUser = message.mentions.users.first(); - + const {footerTxt} = require('../config.json'); // -------------------------------------- const gifchoices = [ "https://i.pinimg.com/originals/4d/89/d7/4d89d7f963b41a416ec8a55230dab31b.gif", @@ -22,11 +21,11 @@ module.exports = { } const embed = { "title": ":heart: Cuddle", - "description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + messageAuthor + ">!", + "description": "<@" + taggedUser + ">" + " You have been cuddled by " + "<@" + message.author + ">!", "color": 9442302, "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": gif diff --git a/commands/hug.js b/commands/hug.js index 47f6cf7..4c17632 100644 --- a/commands/hug.js +++ b/commands/hug.js @@ -3,7 +3,7 @@ module.exports = { name: "hug", description: "Hugs an user!", execute(client, message, args) { - const messageAuthor = message.author + const {footerTxt} = require('../config.json'); const taggedUser = message.mentions.users.first(); const gifchoices = [ "https://cdn.discordapp.com/attachments/803658122299572255/807670647920001044/hug2.gif", @@ -17,8 +17,8 @@ module.exports = { "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", - "text": "Made with ❤ in Illinois | Anitrox © 2018-2021 IDeletedSystem64" + "icon_url": message.author.displayAvatarURL(), + "text": message.author.displayAvatarURL() }, "fields": [ { @@ -37,11 +37,11 @@ module.exports = { var gif = (gifchoices[index]); const embed = { "title": " Hug", - "description": "<@" + taggedUser + ">" + " You have been hugged by " + "<@" + messageAuthor + ">!", + "description": "<@" + taggedUser + ">" + " You have been hugged by " + "<@" + message.author + ">!", "color": 8311585, "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": gif diff --git a/commands/kiss.js b/commands/kiss.js index b220904..e4b8fca 100644 --- a/commands/kiss.js +++ b/commands/kiss.js @@ -3,7 +3,7 @@ module.exports = { name: "kiss", description: "Kisses an user!", execute(client, message, args) { - const messageAuthor = message.author + const {footerTxt} = require('../config.json'); const taggedUser = message.mentions.users.first(); @@ -22,8 +22,8 @@ module.exports = { "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", - "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "fields": [ { diff --git a/commands/leskiss.js b/commands/leskiss.js index fa4982f..a94c328 100644 --- a/commands/leskiss.js +++ b/commands/leskiss.js @@ -6,8 +6,8 @@ module.exports = { name: "leskiss", description: "Lesbian kiss <:lesbian:803831629428686849>", execute(client, message, args) { - const messageAuthor = message.author const taggedUser = message.mentions.users.first(); + const {footerTxt} = require('../config.json'); // -------------------------------------- const gifchoices = [ "https://cdn.discordapp.com/attachments/793537380330111028/803833954750038066/gif5.gif", @@ -34,8 +34,8 @@ module.exports = { "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", - "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "fields": [ { diff --git a/commands/lick.js b/commands/lick.js index 87ab2e8..7d10aef 100644 --- a/commands/lick.js +++ b/commands/lick.js @@ -3,7 +3,7 @@ module.exports = { name: "lick", description: "Licks an user!", execute(client, message, args) { - const messageAuthor = message.author + const {footerTxt} = require('../config.json'); const taggedUser = message.mentions.users.first(); //--------------------------------------------------- // -------------------------------------- @@ -41,11 +41,11 @@ if(!taggedUser) { const embed = { "title": " Lick", - "description": "<@" + taggedUser + "> You have been licked by <@" + messageAuthor + ">!", + "description": "<@" + taggedUser + "> You have been licked by <@" + message.author + ">!", "color": 8311585, "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": "https://cdn.discordapp.com/attachments/803658122299572255/805314244123951114/cef569820773b0f5d54ee34cfa18e1f8.gif" diff --git a/commands/nom.js b/commands/nom.js index b67fa75..d77eddd 100644 --- a/commands/nom.js +++ b/commands/nom.js @@ -3,7 +3,7 @@ module.exports = { name: "nom", description: "Noms an user!", execute(client, message, args) { - const messageAuthor = message.author + const {footerTxt} = require('../config.json'); const taggedUser = message.mentions.users.first(); // -------------------------------------- @@ -43,8 +43,8 @@ module.exports = { "description": "<@" + taggedUser + "> You have been nommed by <@" + messageAuthor + ">!", "color": 8311585, "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": gif diff --git a/commands/opensource.js b/commands/opensource.js index 946ecab..342558d 100644 --- a/commands/opensource.js +++ b/commands/opensource.js @@ -2,13 +2,14 @@ module.exports = { name: 'opensource', description: 'Attributions to open source components used by Anitrox', execute(client, message, args){ - const embed = { + const {footerTxt} = require('../config.json'); + const embed = { "title": "Component Attribution", "description": "Some parts of Anitrox are using open source code, and their attributions are avaliable here!", "color": 52508, "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 by IDeletedSystem64" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "thumbnail": { "url": "https://cdn.discordapp.com/attachments/803658122299572255/838854256471703602/793885335498522685.png" diff --git a/commands/pat.js b/commands/pat.js index 0e05524..adc8ee8 100644 --- a/commands/pat.js +++ b/commands/pat.js @@ -3,7 +3,7 @@ module.exports = { name: "pat", description: "Pats an user!", execute(client, message, args) { - const messageAuthor = message.author + const {footerTxt} = require('../config.json'); const taggedUser = message.mentions.users.first(); // -------------------------------------- @@ -21,8 +21,8 @@ module.exports = { "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", - "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "fields": [ { @@ -42,8 +42,8 @@ module.exports = { "description": "<@" + taggedUser + "> You have been patted by <@" + messageAuthor + ">!", "color": 8311585, "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": gif diff --git a/commands/poke.js b/commands/poke.js index 6b8ebd0..d9a1fd5 100644 --- a/commands/poke.js +++ b/commands/poke.js @@ -21,8 +21,8 @@ module.exports = { "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", - "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "fields": [ { @@ -42,8 +42,8 @@ module.exports = { "description": "<@" + taggedUser + "> You have been poked by <@" + messageAuthor + ">!", "color": 8311585, "footer": { - "icon_url": "https://media.discordapp.net/attachments/549707869138714635/793524910172667964/Screenshot_26.png", - "text": "Made with ❤ in Illinois | Anitrox © IDeletedSystem64 2018-2021" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": gif diff --git a/commands/slap.js b/commands/slap.js index 94ebaa9..106e0af 100644 --- a/commands/slap.js +++ b/commands/slap.js @@ -3,7 +3,7 @@ module.exports = { name: "slap", description: "Slaps an user!", execute(client, message, args) { - const messageAuthor = message.author + const {footerTxt} = require('../config.json'); const taggedUser = message.mentions.users.first(); //--------------------------------------------------- @@ -12,8 +12,8 @@ const errorembed = { "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", - "text": "Made with ❤ in Illinois | Anitrox by IDeletedSystem64" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "fields": [ { @@ -33,8 +33,8 @@ if(!taggedUser) { "description": "<@" + taggedUser + "> You have been slapped 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" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": "https://media1.tenor.com/images/b6d8a83eb652a30b95e87cf96a21e007/tenor.gif?itemid=10426943" diff --git a/commands/snuggle.js b/commands/snuggle.js index 3869711..583219c 100644 --- a/commands/snuggle.js +++ b/commands/snuggle.js @@ -3,7 +3,7 @@ module.exports = { name: "snuggle", description: "Snuggle an user!", execute(client, message, args) { - const messageAuthor = message.author + const {footerTxt} = require('../config.json'); const taggedUser = message.mentions.users.first(); // -------------------------------------- @@ -22,8 +22,8 @@ module.exports = { "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 by IDeletedSystem64" + "icon_url": message.author.displayAvatarURL(), + "text": footerTxt }, "image": { "url": gif