From 63682deb929a1a201f4c344f0eaea5ae449b05ac Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 21 Dec 2022 17:54:16 -0500 Subject: Inital commit (aka start of this garbage dump --- commands/about.js | 16 ++++++++++++++++ commands/ping.js | 10 ++++++++++ commands/ratecuteness.js | 10 ++++++++++ commands/uwuify.js | 10 ++++++++++ 4 files changed, 46 insertions(+) create mode 100644 commands/about.js create mode 100644 commands/ping.js create mode 100644 commands/ratecuteness.js create mode 100644 commands/uwuify.js (limited to 'commands') 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...'); + } +}; -- cgit v1.2.3