is_not_banned

Description

Checks if the user is banned. If they are, removes appropriate permissions and dies with an error.

Syntax

void is_not_banned ()


Notes

  • If they are banned, calls banPermissions to remove any permissions that they shouldn't have (removes all permissions for a full ban or any permission that allows them to modify or post something for a post ban)
Advertisement: