Last Discord Error (Expression) — DiSky

Addon: DiSky · Category: Expression · Since: 5.0.0-a1

Syntax

[the] last discord error

Description

The most recent Discord error that occurred (anywhere), as a discorderror. None if no error has occurred yet.

Examples

discord command ban:
    trigger:
        ban member event-member
        if the last discord error is set:
            reply with "Failed: %error meaning of the last discord error%"

View source