mirror of
https://github.com/Myxelium/Lunaris2.0.git
synced 2026-04-17 11:47:16 +00:00
Update readme.md
Test Migrate from Victoria
This commit is contained in:
@@ -42,7 +42,6 @@ public class SlashCommandBuilder(
|
||||
|
||||
private static async Task RemoveUnusedCommands(string[] commands, IEnumerable<SocketApplicationCommand> registeredCommands)
|
||||
{
|
||||
// Remove commands from Discord(registeredCommands) that are not in the list of commands
|
||||
foreach(var command in registeredCommands)
|
||||
{
|
||||
if (commands.Contains(command.Name))
|
||||
|
||||
Reference in New Issue
Block a user