From faa671750d87c00bcaa7bcbb2767b1c7136bfb79 Mon Sep 17 00:00:00 2001 From: tommy Date: Fri, 9 Aug 2024 00:03:23 -0400 Subject: [PATCH] create /link command (explains that you need to use rbhop dog) --- src/SlashCommands/Link.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/SlashCommands/Link.lua diff --git a/src/SlashCommands/Link.lua b/src/SlashCommands/Link.lua new file mode 100644 index 0000000..ee1278b --- /dev/null +++ b/src/SlashCommands/Link.lua @@ -0,0 +1,14 @@ +local SlashCommandTools = require('discordia-slash').util.tools() + +local LINK_EXPLANATION_MESSAGE = [[Use the `!link ` command with <@759490176119472178> to start the linking process, make sure your DMs are open so it can message you. For more information, use `!help link`]] + +local LinkCommand = SlashCommandTools.slashCommand('link', 'Explains how to link your Roblox account to your discord account') + +local function Callback(Interaction, Command, Args) + return Interaction:reply(LINK_EXPLANATION_MESSAGE, true) +end + +return { + Command = LinkCommand, + Callback = Callback +} \ No newline at end of file