mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
Remove scary text...
Signed-off-by: Randshot <randshot@norealm.xyz>
This commit is contained in:
parent
03382ce70c
commit
bef99297f9
@ -87,7 +87,7 @@ export async function parseArguments(roomId: string, event: any, mjolnir: Mjolni
|
||||
let replyMessage = null;
|
||||
if (!list) replyMessage = "No ban list matching that shortcode was found";
|
||||
else if (!ruleType) replyMessage = "Please specify the type as either 'user', 'room', or 'server'";
|
||||
else if (!entity) replyMessage = "No entity found to (un)ban";
|
||||
else if (!entity) replyMessage = "No entity found";
|
||||
|
||||
if (replyMessage) {
|
||||
const reply = RichReply.createFor(roomId, event, replyMessage, replyMessage);
|
||||
|
Loading…
Reference in New Issue
Block a user