This commit is contained in:
tommy 2024-08-20 03:18:25 -04:00
parent 1c2fb8ba89
commit 9279e4dc88
Signed by: tommy
GPG Key ID: 56B522AB2EF2263A

View File

@ -10,12 +10,6 @@ local SlashCommandCollector = CommandCollector.new('Slash'):Collect()
local UserCommandCollector = CommandCollector.new('User'):Collect() local UserCommandCollector = CommandCollector.new('User'):Collect()
Client:on('ready', function() Client:on('ready', function()
-- local GlobalCommands = Client:getGlobalApplicationCommands()
-- for CommandId in pairs(GlobalCommands) do
-- Client:deleteGlobalApplicationCommand(CommandId)
-- end
MessageCommandCollector:Publish(Client) MessageCommandCollector:Publish(Client)
SlashCommandCollector:Publish(Client) SlashCommandCollector:Publish(Client)
UserCommandCollector:Publish(Client) UserCommandCollector:Publish(Client)