Skip to content

Commit e6997ec

Browse files
authored
v5 Release Milestone 2 Fix 2.2
* Add invite command * Update about command * Added 3 new statuses
2 parents 8d51404 + c5fe905 commit e6997ec

3 files changed

Lines changed: 28 additions & 4 deletions

File tree

src/app/cfg/system.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"Playing Never Gonna Give You Up",
4848
"Playing Visual Studio Code",
4949
"Playing Visual Studio 2022",
50+
"Playing You are now manually breathing.",
5051

5152
"Watching anime kill hot toast",
5253
"Watching アニメ",
@@ -58,6 +59,7 @@
5859
"Watching all of your commands coming in",
5960
"Watching time; it's just an illusion.",
6061
"Watching you",
62+
"Watching myself",
6163

6264
"Listening to Matt's Keyboard AMSR",
6365
"Listening to *wholesome sounds*",

src/app/cmds/General/about.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ module.exports = {
2727
{ name: "Bot Memory Usage", value: (Math.round(process.memoryUsage().heapUsed / 1024 / 1024 * 100) / 100) + " MiB", inline: true },
2828
{ name: "Servers I'm In", value: app.client.guilds.cache.size + " total", inline: true },
2929
{ name: "Host System Information", value: "** **" },
30-
{ name: "Node Version", value: `${process.version}`, inline: true },
31-
{ name: "Node Uptime", value: app.functions.TStoHR(process.uptime() * 1000), inline: true },
32-
{ name: "Node Execution Path", value: `${process.execPath}`, inline: true },
30+
{ name: "NodeJS Version", value: `${process.version}`, inline: true },
31+
{ name: "NodeJS Uptime", value: app.functions.TStoHR(process.uptime() * 1000), inline: true },
32+
{ name: "NodeJS Execution Path", value: `${process.execPath}`, inline: true },
3333
{ name: "Process PID", value: `${process.pid}`, inline: true },
3434
{ name: "System Platform", value: `${process.platform}`, inline: true },
3535
{ name: ((process.platform == "linux") ? "Kernel Version" : "System Version"), value: os.version(), inline: true }
@@ -38,4 +38,4 @@ module.exports = {
3838
}]
3939
});
4040
}
41-
}
41+
}

src/app/cmds/General/invite.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports = {
2+
name: "invite",
3+
description: "Add me to yo server!",
4+
guildOnly: false,
5+
authorizedGuilds: [],
6+
hidden: false,
7+
permissions: ["DEFAULT"],
8+
cooldown: 2,
9+
aliases: [],
10+
syntax: [],
11+
execute: async(app, message, args) => {
12+
return app.functions.msgHandler(message, {
13+
embeds: [{
14+
title: app.config.system.emotes.information + " Invite",
15+
color: app.config.system.embedColors.green,
16+
fields: [
17+
{ name: "OwO? New server?!?", value: `Aw heck yeah!! Add me and become one of the ${app.client.guilds.cache.size} servers using TheCodingBot!` },
18+
{ name: "Add me to dat server!", value: `Add me via [Discord](https://discord.com/oauth2/authorize?scope=bot&client_id=${app.client.user.id}&permissions=8)` },
19+
{ name: "...is something wrong..?", value: "Join the [TMC Discord](https://discord.gg/HdKeWtV) for support, and much more!" },
20+
]}]
21+
})
22+
}}

0 commit comments

Comments
 (0)