Remember to intern Draupnir protections command. (#556)

Fixes https://github.com/the-draupnir-project/Draupnir/issues/555.
This commit is contained in:
Gnuxie
2024-09-13 13:51:16 +01:00
committed by GitHub
parent d3fe508db3
commit d0e3cbe324
+2
View File
@@ -21,6 +21,7 @@ import { SynapseAdminHijackRoomCommand } from "./HijackRoomCommand";
import { DraupnirImportCommand } from "./ImportCommand";
import { DraupnirKickCommand } from "./KickCommand";
import {
DraupnirListProtectionsCommand,
DraupnirProtectionsConfigAddCommand,
DraupnirProtectionsConfigSetCommand,
DraupnirProtectionsDisableCommand,
@@ -62,6 +63,7 @@ const DraupnirCommands = new StandardCommandTable("draupnir")
.internCommand(DraupnirHelpCommand, ["help"])
.internCommand(DraupnirImportCommand, ["import"])
.internCommand(DraupnirKickCommand, ["kick"])
.internCommand(DraupnirListProtectionsCommand, ["protections"])
.internCommand(DraupnirProtectionsEnableCommand, ["protections", "enable"])
.internCommand(DraupnirProtectionsDisableCommand, ["protections", "disable"])
.internCommand(DraupnirProtectionsConfigAddCommand, [