Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 20dfa8c

Browse files
author
Killerclaws12
committed
More emojis & new command(s)
1 parent 436e5db commit 20dfa8c

File tree

5 files changed

+43
-2
lines changed

5 files changed

+43
-2
lines changed

Commands/Utility/id.js

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
const { SlashCommandBuilder } = require('@discordjs/builders');
2+
const { EmbedBuilder } = require('discord.js')
3+
4+
module.exports = {
5+
data: new SlashCommandBuilder()
6+
.setName('id')
7+
.setDescription('Get the ID of a user or yourself.')
8+
.addUserOption(option => option.setName('user')
9+
.setDescription('The user you want to get the ID of')
10+
.setRequired(false)),
11+
async execute(interaction, client) {
12+
let person = interaction.options.getUser('user');
13+
if (!person) person = interaction.user;
14+
const id = new EmbedBuilder()
15+
.setColor('#2f3136')
16+
.setDescription(`${person} <:blurple_line:1115975887939182612> **${person.id}**`)
17+
.setFooter({text:`The ID of the user pinged.`})
18+
interaction.reply({ embeds: [id] });
19+
}
20+
}

Commands/Utility/status.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ module.exports = {
55
.setName('status')
66
.setDescription('Check if the bot is online or not.'),
77
async execute(interaction, client, dbGuild) {
8-
await interaction.reply(client.ws.status === 0 ? 'Bot is online!' : 'Bot is offline!');
8+
await interaction.reply(client.ws.status === 0 ? '<:blurple_check:1115777129536294932> Bot is online!' : '<:blurple_cross:1115777101925199912> Bot is offline!');
99
},
1010
};

package-lock.json

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"check": "docker run --rm -v $(pwd):/app -w /app node:18.8 sh -c \"npm install -g prettier && prettier --check .\""
1111
},
1212
"dependencies": {
13+
"@iamtraction/google-translate": "^2.0.1",
1314
"@octokit/rest": "^19.0.7",
1415
"ascii-table": "^0.0.9",
1516
"axios": "^1.2.1",
@@ -30,6 +31,7 @@
3031
"nodemon": "^2.0.20",
3132
"octokit": "^2.0.14",
3233
"os": "^0.1.2",
34+
"uninstall": "^0.0.0",
3335
"urban": "^0.3.4",
3436
"weather-js": "^2.0.0"
3537
},

todo.todo

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- Anti-Nuke sys (maybe)
1616
- Initinalizing command, like wickbot. (maybe)
1717
- Configurable modmail sys (maybe)
18-
-
18+
- Economy commands
19+
- More fun commands
1920
--/
2021
--/

0 commit comments

Comments
 (0)