aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands/settings.js
diff options
context:
space:
mode:
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`);
+ }
+};