about summary refs log tree commit diff
path: root/Commands/BanMediaCommand.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-03-22 17:43:00 +0100
committerRory& <root@rory.gay>2024-03-22 17:43:00 +0100
commitc137f94aeb122c636629fb9361dd73626594f690 (patch)
tree44f04e0b2b026d21c817e330918243fd5a4a8cd4 /Commands/BanMediaCommand.cs
parentChanges (diff)
downloadModerationBot-c137f94aeb122c636629fb9361dd73626594f690.tar.xz
Changes
Diffstat (limited to 'Commands/BanMediaCommand.cs')
-rw-r--r--Commands/BanMediaCommand.cs2
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