From c137f94aeb122c636629fb9361dd73626594f690 Mon Sep 17 00:00:00 2001 From: Rory& Date: Fri, 22 Mar 2024 17:43:00 +0100 Subject: Changes --- Commands/BanMediaCommand.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Commands/BanMediaCommand.cs') 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 CanInvoke(CommandContext ctx) { //check if user is admin in control room -- cgit 1.4.1