diff options
author | Rory& <root@rory.gay> | 2024-03-22 17:43:00 +0100 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-03-22 17:43:00 +0100 |
commit | c137f94aeb122c636629fb9361dd73626594f690 (patch) | |
tree | 44f04e0b2b026d21c817e330918243fd5a4a8cd4 /Commands/BanMediaCommand.cs | |
parent | Changes (diff) | |
download | ModerationBot-c137f94aeb122c636629fb9361dd73626594f690.tar.xz |
Changes
Diffstat (limited to 'Commands/BanMediaCommand.cs')
-rw-r--r-- | Commands/BanMediaCommand.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Commands/BanMediaCommand.cs b/Commands/BanMediaCommand.cs index b891932..ca9f12c 100644 --- a/Commands/BanMediaCommand.cs +++ b/Commands/BanMediaCommand.cs @@ -13,7 +13,9 @@ namespace ModerationBot.Commands; public class BanMediaCommand(HomeserverResolverService hsResolver, PolicyEngine engine, ModerationBotRoomProvider roomProvider) : ICommand { public string Name { get; } = "banmedia"; + public string[]? Aliases { get; } public string Description { get; } = "Create a policy banning a piece of media, must be used in reply to a message"; + public bool Unlisted { get; } public async Task<bool> CanInvoke(CommandContext ctx) { //check if user is admin in control room |