aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-12-21 17:54:16 -0500
committerAndrew Lee <alee14498@protonmail.com>2022-12-21 17:54:16 -0500
commit63682deb929a1a201f4c344f0eaea5ae449b05ac (patch)
tree3696db53fd13666c77afdc265ee8191cf1c2568d /commands
downloadshrimpbot-js-63682deb929a1a201f4c344f0eaea5ae449b05ac.tar.gz
shrimpbot-js-63682deb929a1a201f4c344f0eaea5ae449b05ac.tar.bz2
shrimpbot-js-63682deb929a1a201f4c344f0eaea5ae449b05ac.zip
Inital commit (aka start of this garbage dump
Diffstat (limited to 'commands')
-rw-r--r--commands/about.js16
-rw-r--r--commands/ping.js10
-rw-r--r--commands/ratecuteness.js10
-rw-r--r--commands/uwuify.js10
4 files changed, 46 insertions, 0 deletions
diff --git a/commands/about.js b/commands/about.js
new file mode 100644
index 0000000..a493288
--- /dev/null
+++ b/commands/about.js
@@ -0,0 +1,16 @@
+import { SlashCommandBuilder, EmbedBuilder } from 'discord.js';
+
+export default {
+ data: new SlashCommandBuilder()
+ .setName('about')
+ .setDescription('Gets information about Shrimpbot'),
+ async execute(interaction, bot) {
+ const aboutEmbed = new EmbedBuilder()
+ .addFields(
+ { name: 'ShrimpBot 18.2022.12.21 (NO ROYCE\'S ANIME FANTASY EDITION)', value: 'by Alee (JS Edition), Squid Grill (C# Edition) (and open source contributors)' },
+ { name: 'Hosting', value: 'Placeholder' },
+ { name:'Links', value:'Insert links' }
+ )
+ return await interaction.reply({ embeds: [aboutEmbed] });
+ }
+};
diff --git a/commands/ping.js b/commands/ping.js
new file mode 100644
index 0000000..a9dc141
--- /dev/null
+++ b/commands/ping.js
@@ -0,0 +1,10 @@
+import { SlashCommandBuilder } from 'discord.js';
+
+export default {
+ data: new SlashCommandBuilder()
+ .setName('ping')
+ .setDescription('Pong!'),
+ async execute(interaction, bot) {
+ return await interaction.reply(`Pong! ${Math.round(bot.ws.ping)}ms`);
+ }
+};
diff --git a/commands/ratecuteness.js b/commands/ratecuteness.js
new file mode 100644
index 0000000..8263907
--- /dev/null
+++ b/commands/ratecuteness.js
@@ -0,0 +1,10 @@
+import { SlashCommandBuilder } from 'discord.js';
+
+export default {
+ data: new SlashCommandBuilder()
+ .setName('ratecuteness')
+ .setDescription('100% accurate cuteness rater.'),
+ async execute(interaction, bot) {
+ return await interaction.reply(':two_hearts: Royce\'s cuteness is -100000/10');
+ }
+};
diff --git a/commands/uwuify.js b/commands/uwuify.js
new file mode 100644
index 0000000..3103234
--- /dev/null
+++ b/commands/uwuify.js
@@ -0,0 +1,10 @@
+import { SlashCommandBuilder } from 'discord.js';
+
+export default {
+ data: new SlashCommandBuilder()
+ .setName('uwuify')
+ .setDescription('Just no.'),
+ async execute(interaction, bot) {
+ return await interaction.reply('No... just no...');
+ }
+};