Skip to content

Commit

Permalink
Fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Sella-GH committed Jul 3, 2024
1 parent 3771543 commit 5cd3cf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using System;
using DSharpPlus.Commands.ContextChecks;
using DSharpPlus.Commands.ContextChecks;

namespace AzzyBot;

public class AzuraCastDiscordPermCheckAttribute : ContextCheckAttribute
public sealed class AzuraCastDiscordPermCheckAttribute : ContextCheckAttribute
{
public AzuraCastDiscordPerm Perm { get; set; }
}
1 change: 1 addition & 0 deletions AzzyBot-Next/Services/DiscordBotServiceHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ private async Task RegisterCommandsAsync()
commandsExtension.AddCommands(typeof(DebugCommands.DebugGroup), [.. debugGuilds]);
}

commandsExtension.AddCheck<AzuraCastDiscordPermCheck>();
commandsExtension.AddCheck<AzuraCastOnlineCheck>();
commandsExtension.AddCheck<ModuleActivatedCheck>();

Expand Down

0 comments on commit 5cd3cf5

Please sign in to comment.