From 3f27d19d024eae9b78672ae0107d03bc4ca716fa Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 15:44:58 -0600 Subject: [PATCH 1/8] Update start.js Changed time between playing status changes from 10 seconds to 20. --- start.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/start.js b/start.js index 708d3ac..f1b50a0 100644 --- a/start.js +++ b/start.js @@ -5,7 +5,6 @@ const { prefix, token } = require('./config.json'); const os = require("os") const version = "Test Release 21"; const release = "anitrox_unstable" -const buildno = "404" console.log('Starting!') const client = new Discord.Client(); client.commands = new Discord.Collection(); @@ -40,7 +39,7 @@ client.once('ready', () => { setInterval(() => { const index = Math.floor(Math.random() * (activities_list.length - 1) + 1); client.user.setActivity(activities_list[index]); -}, 10000); +}, 20000); client.on('message', message => { if (!message.content.startsWith(prefix) || message.author.bot) return; @@ -54,7 +53,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> **An error occurred!**", "color": 13632027, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", From 279fd06ffd8ac11168047460ac14f4c3ad7acb9f Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 16:30:11 -0600 Subject: [PATCH 2/8] Update info.js --- commands/info.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/commands/info.js b/commands/info.js index 3302706..21519b8 100644 --- a/commands/info.js +++ b/commands/info.js @@ -31,7 +31,6 @@ const version = ("DEV1.0") const embed = { "title": "<:NyabotInfo:697145463350231040> Information about projectanitrox", "description": "Everything you've ever wanted to know about projectanitrox!", - "url": "https://discordapp.com", "color": 11038194, "footer": { "icon_url": "https://cdn.discordapp.com/attachments/549707869138714635/793524910172667964/Screenshot_26.png", @@ -73,10 +72,7 @@ const version = ("DEV1.0") "name": "<:cpu:793672442056802354> CPU Type", "value": process.arch }, - { - "name": "<:memory:793536677737136178> **System Memory Usage**", - "value": (Math.round(os.memoryUsage / 1024 / 1024 * 100) / 100) + " MiB of " + (Math.round(os.freemem / 1024 / 1024 * 100) / 100) - }, + { "name": "<:hostos:793866961675223090> OS Type", "value": process.platform + " / " + os.version() From 9ac1c7f866e813a83261d77eca05e630cbe2ff32 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 17:29:39 -0600 Subject: [PATCH 3/8] Add first couple of reaction/emotion commands --- commands/bonk.js | 22 +++++++++++++++++++++- commands/poke.js | 24 ++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 commands/poke.js diff --git a/commands/bonk.js b/commands/bonk.js index 70d96c8..955263f 100644 --- a/commands/bonk.js +++ b/commands/bonk.js @@ -3,4 +3,24 @@ module.exports = { name: "bonk", description: "Bonks an user!", execute(client, message, args) { - + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + + const embed = { + "title": " Bonk", + "description": taggedUser + " You have been bonked by " + messageAuthor + "!", + "color": 3272562, + "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/793537380330111028/801194481549312060/HappyBONK.gif" + } + } + + + message.channel.send({ embed: embed }); + } + } + diff --git a/commands/poke.js b/commands/poke.js new file mode 100644 index 0000000..cf457c7 --- /dev/null +++ b/commands/poke.js @@ -0,0 +1,24 @@ +module.exports = { + + name: "poke", + description: "Pokes an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + 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": "https://i.gifer.com/4IdP.gif" + } + } + + + message.channel.send({ embed: embed }); + } + } From b930f6e8bb7166571bf11b8e0d24ef5a8ced6fb4 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 17:43:45 -0600 Subject: [PATCH 4/8] Add warning, This will be for the public-test-release. --- commands/help.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/help.js b/commands/help.js index 17a3fbd..7f634cb 100644 --- a/commands/help.js +++ b/commands/help.js @@ -7,6 +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", "footer": { "text": "Some commands are hidden for dev-only. | Anitrox © IDeletedSystem64 2018-2021" }, From 4565a79645b1042135e6903d4b2fdcc3582fe453 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 18:00:32 -0600 Subject: [PATCH 5/8] Reaction/Emotion pt2 --- commands/cuddle.js | 24 ++++++++++++++++++++++++ commands/hug.js | 24 ++++++++++++++++++++++++ commands/pat.js | 24 ++++++++++++++++++++++++ commands/slap.js | 24 ++++++++++++++++++++++++ 4 files changed, 96 insertions(+) create mode 100644 commands/cuddle.js create mode 100644 commands/hug.js create mode 100644 commands/pat.js create mode 100644 commands/slap.js diff --git a/commands/cuddle.js b/commands/cuddle.js new file mode 100644 index 0000000..90a156b --- /dev/null +++ b/commands/cuddle.js @@ -0,0 +1,24 @@ +module.exports = { + + name: "cuddle", + description: "Cuddle an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + 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": "https://media.tenor.com/images/7199fdd26fc2c07cd49a34fda3fc37a8/tenor.gif" + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/commands/hug.js b/commands/hug.js new file mode 100644 index 0000000..1501c84 --- /dev/null +++ b/commands/hug.js @@ -0,0 +1,24 @@ +module.exports = { + + name: "hug", + description: "Hugs an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + 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": "https://i.imgur.com/r9aU2xv.gif?noredirect" + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/commands/pat.js b/commands/pat.js new file mode 100644 index 0000000..92be259 --- /dev/null +++ b/commands/pat.js @@ -0,0 +1,24 @@ +module.exports = { + + name: "pat", + description: "Pats an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + 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": "https://media1.giphy.com/media/ARSp9T7wwxNcs/giphy.gif" + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/commands/slap.js b/commands/slap.js new file mode 100644 index 0000000..b1f0c37 --- /dev/null +++ b/commands/slap.js @@ -0,0 +1,24 @@ +module.exports = { + + name: "slap", + description: "Slaps an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + const embed = { + "title": ":anger: Slap", + "description": taggedUser + " You have been slapped 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://media1.tenor.com/images/b6d8a83eb652a30b95e87cf96a21e007/tenor.gif?itemid=10426943" + } + } + + + message.channel.send({ embed: embed }); + } + } From b18f8cbb2bb1303f3f5acdf44b652cd0ff1fb2f2 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 18:01:19 -0600 Subject: [PATCH 6/8] 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 b8c2cc66f827e6c9c1f29cdee95039045fcf93f0 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 18:08:38 -0600 Subject: [PATCH 7/8] Do I need to explain? --- commands/kiss.js | 24 ++++++++++++++++++++++++ commands/nom.js | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 commands/kiss.js create mode 100644 commands/nom.js diff --git a/commands/kiss.js b/commands/kiss.js new file mode 100644 index 0000000..c184a98 --- /dev/null +++ b/commands/kiss.js @@ -0,0 +1,24 @@ +module.exports = { + + name: "kiss", + description: "Kisses an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + const embed = { + "title": ":heart: Kiss", + "description": taggedUser + " You have been kissed 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://i.pinimg.com/originals/e3/4e/31/e34e31123f8f35d5c771a2d6a70bef52.gif" + } + } + + + message.channel.send({ embed: embed }); + } + } diff --git a/commands/nom.js b/commands/nom.js new file mode 100644 index 0000000..08a049f --- /dev/null +++ b/commands/nom.js @@ -0,0 +1,24 @@ +module.exports = { + + name: "nom", + description: "Noms an user!", + execute(client, message, args) { + const messageAuthor = message.author + const taggedUser = message.mentions.users.first(); + 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": "https://data.whicdn.com/images/279560594/original.gif" + } + } + + + message.channel.send({ embed: embed }); + } + } From 63a1bbd7302e75676209740fa48c6cf2972d3005 Mon Sep 17 00:00:00 2001 From: Anthony M <47640864+IDeletedSystem64@users.noreply.github.com> Date: Tue, 19 Jan 2021 18:23:45 -0600 Subject: [PATCH 8/8] Add files via upload