Skip to content

Better error handling of powerlevel command #632

@Justinzobel

Description

@Justinzobel

I ran !mjolnir powerlevel @user:domain #channel:server accidentally just now in our moderation room and forgot the power level.

It returned an error message for every single room we have added to moderate. This was nearly 200 rooms.

A better solution would be to catch the syntax error and advise the user.

If variables != 3, then fail with Error: powerlevel requries 3 variables user@domain powerlevel #room@server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions