Update PTB

Merge dev to PTB
This commit is contained in:
Anthony M 2021-01-19 18:24:49 -06:00 committed by GitHub
commit 90b68c72c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 193 additions and 9 deletions

View File

@ -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": "<a:SylvBonk:801185845847130113> 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 });
}
}

24
commands/cuddle.js Normal file
View File

@ -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 });
}
}

View File

@ -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"
},

24
commands/hug.js Normal file
View File

@ -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": "<a:ABlobCatHuggle:801232248035999784> 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 });
}
}

View File

@ -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()

24
commands/kiss.js Normal file
View File

@ -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 });
}
}

24
commands/nom.js Normal file
View File

@ -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 });
}
}

24
commands/pat.js Normal file
View File

@ -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 });
}
}

24
commands/poke.js Normal file
View File

@ -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 });
}
}

24
commands/slap.js Normal file
View File

@ -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 });
}
}

View File

@ -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",