create /link command (explains that you need to use rbhop dog)
This commit is contained in:
parent
abeba36ee9
commit
faa671750d
14
src/SlashCommands/Link.lua
Normal file
14
src/SlashCommands/Link.lua
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user