Package-level declarations
Functions
Check asserting an Event was fired within a guild.
Check asserting that the channel an Event fired in is above the given channel in the channel list.
Check asserting that the channel an Event fired in is below the given channel in the channel list.
Retrieves a channel that is the subject of a given event, if possible.
Check asserting that the channel an Event fired in is above the given channel in the channel list.
Check asserting that the channel an Event fired in is marked as NSFW.
Check asserting that the channel an Event fired in is below the given channel in the channel list.
Check asserting that the channel an Event fired in is marked as NSFW, or is in an NSFW guild.
Check asserting that the channel an Event fired in is of a given set of types.
Check asserting an Event was fired within a guild with a NSFW level higher than the provided one..
Check asserting an Event was fired within a guild with a NSFW level higher than or equal to the provided one..
Check asserting an Event was fired within a guild with a NSFW level lower than the provided one..
Check asserting an Event was fired within a guild with a NSFW level lower than or equal to the provided one..
Check asserting an Event was fired within a guild with the given NSFW level.
Check asserting that the user an Event fired for has a given permission, or the Administrator permission.
Check asserting that the user an Event fired for has the given permissions set, or the Administrator permission.
Check asserting that the user an Event fired for has a given role.
Check asserting that an Event fired within a given channel category.
Check asserting that an Event fired within a given channel.
Check asserting that the guild an Event fired for is in a specific guild.
Retrieves an interaction that is the subject of a given event, if possible.
Check asserting that an Event fired within a given channel. If the event fired within a thread, it checks the thread's parent channel instead.
Check asserting the user for an Event is a bot. Will fail if the event doesn't concern a user.
For bots owned by a team, check asserting the user for an Event is one of the bot's admins.
For bots with single owners, check asserting the user for an Event is the bot's owner.
Check asserting that the event was triggered within a thread.
Check asserting the user for an Event is not a bot. Will pass if the event doesn't concern a user.
For bots owned by a team, check asserting the user for an Event is not one of the bot's admins.
For bots with single owners, check asserting the user for an Event is not the bot's owner.
Check asserting that the event was not triggered within a thread, including events that don't concern any specific channel.
Retrieves a message that is the subject of a given event, if possible.
Convenience wrapper for a "failing: no such category" log message.
Convenience wrapper for a "failing: no such channel" log message.
Check asserting an Event was not fired within a guild.
Check asserting that the channel an Event fired in is not marked as NSFW.
Check asserting that the channel an Event fired in is not marked as NSFW, and is not in an NSFW guild.
Check asserting that the channel an Event fired in is not of a given set of types.
Check asserting an Event was fired within a guild without the given NSFW level.
Check asserting that the user an Event fired for does not have a given permission or the Administrator permission.
Check asserting that the user an Event fired for does not have the given permissions set or the Administrator permission.
Check asserting that the user an Event fired for does not have a given role.
Check asserting that an Event did not fire within a given channel category.
Check asserting that an Event did not fire within a given channel.
Check asserting that the guild an Event fired for is not in a specific guild.
Check asserting that an Event did not fire within a given channel. If the event fired within a thread, it checks the thread's parent channel instead.
Convenience wrapper for a "channel for event is null" log message.
Convenience wrapper for a "member for event is null" log message.
Convenience wrapper for a "message for event is null" log message.
Silence the current check by removing any message it may have set.
Retrieves a channel that is the subject of a given event, if possible, returning the parent if the channel is a thread.
Check asserting that the top role for the user an Event fired for is equal to a given role.
Check asserting that the top role for the user an Event fired for is higher than a given role.
Check asserting that the top role for the user an Event fired for is higher than or equal to a given
Check asserting that the top role for the user an Event fired for is lower than a given role.
Check asserting that the top role for the user an Event fired for is lower than or equal to a given
Check asserting that the top role for the user an Event fired for is not equal to a given role.