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/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/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" }, 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/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() 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 }); + } + } 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/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 }); + } + } 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 }); + } + } 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",