mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-02-28 13:45:55 +00:00
Only register test command to rpcs3 guild for now.
This commit is contained in:
parent
81c0e0d364
commit
31f4e6fe1d
@ -144,7 +144,8 @@ namespace CompatBot
|
||||
};
|
||||
using var client = new DiscordClient(config);
|
||||
var slashCommands = client.UseSlashCommands();
|
||||
slashCommands.RegisterCommands<SlashTest>();
|
||||
// Only register to rpcs3 guild for now.
|
||||
slashCommands.RegisterCommands<SlashTest>(Config.BotGuildId);
|
||||
|
||||
var commands = client.UseCommandsNext(new()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user