Adds the user represented by the provided user ID to the list of banned users
ID of the user to ban
Provides a list of user IDs representing users who are currently banned.
Utility function to quickly check whether to accept a message based on whether its sender is banned
Tests whether the given user is banned
Removes the user represented by the provided user ID to the list of banned users
ID of the user to ban
Generated using TypeDoc
Ban API
Provides various utilities for universally banning/unbanning users across any number of bot instances
Note: because this API relies on the data store initialized in the login module, none of its functions will work unless you've logged in already via a call to
login.login
.