diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2024-01-11 07:31:09 +0100 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-01-11 07:31:09 +0100 |
commit | ee6e58970f62fa19d04f07d06d6c1476bf7e278c (patch) | |
tree | aee57148c7fc095e6d954cf36e4b01b41364efcc /Commands/DbgAllRoomsArePolicyListsCommand.cs | |
parent | Cleanup (diff) | |
download | ModerationBot-ee6e58970f62fa19d04f07d06d6c1476bf7e278c.tar.xz |
Cleanup, more message formatters, messagebuilder start
Diffstat (limited to 'Commands/DbgAllRoomsArePolicyListsCommand.cs')
-rw-r--r-- | Commands/DbgAllRoomsArePolicyListsCommand.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Commands/DbgAllRoomsArePolicyListsCommand.cs b/Commands/DbgAllRoomsArePolicyListsCommand.cs index f578f53..cd0bf6b 100644 --- a/Commands/DbgAllRoomsArePolicyListsCommand.cs +++ b/Commands/DbgAllRoomsArePolicyListsCommand.cs @@ -14,9 +14,9 @@ public class DbgAllRoomsArePolicyListsCommand private GenericRoom logRoom { get; set; } public async Task<bool> CanInvoke(CommandContext ctx) { -#if !DEBUG - return false; -#endif +// #if !DEBUG +// return false; +// #endif //check if user is admin in control room var botData = await ctx.Homeserver.GetAccountDataAsync<BotData>("gay.rory.moderation_bot_data"); |