aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands/settings.js
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-02 22:27:57 -0500
committerAndrew Lee <andrew@alee14.me>2025-03-02 22:27:57 -0500
commitcf1382d88c5e3298923c8cb243b7bc5751e68b53 (patch)
treea38351317594ed660fc80c784cdf7dbc71f5656b /bot/src/commands/settings.js
parent1c253d25cb1d35aa987d76e07806999c562712d6 (diff)
downloadAleeBot-cf1382d88c5e3298923c8cb243b7bc5751e68b53.tar.gz
AleeBot-cf1382d88c5e3298923c8cb243b7bc5751e68b53.tar.bz2
AleeBot-cf1382d88c5e3298923c8cb243b7bc5751e68b53.zip
Ported more commands; Made embed colour a const; Cleanup
Diffstat (limited to 'bot/src/commands/settings.js')
-rw-r--r--bot/src/commands/settings.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/bot/src/commands/settings.js b/bot/src/commands/settings.js
new file mode 100644
index 0000000..a04d1c2
--- /dev/null
+++ b/bot/src/commands/settings.js
@@ -0,0 +1,10 @@
+import { SlashCommandBuilder } from 'discord.js';
+
+export default {
+ data: new SlashCommandBuilder()
+ .setName('settings')
+ .setDescription('User settings for AleeBot.'),
+ async execute(interaction) {
+ return await interaction.reply(`**PONG!** :ping_pong: ${Math.round(interaction.client.ws.ping)} ms`);
+ }
+};