create /link command (explains that you need to use rbhop dog)

This commit is contained in:
tommy 2024-08-09 00:03:23 -04:00
parent abeba36ee9
commit faa671750d
Signed by: tommy
GPG Key ID: 894E02570CE82334

View File

@ -0,0 +1,14 @@
local SlashCommandTools = require('discordia-slash').util.tools()
local LINK_EXPLANATION_MESSAGE = [[Use the `!link <roblox username>` 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
}