Skip to content

Extend chat command auth #20

@Nocturnal42

Description

@Nocturnal42

Update the auth functions to include differentiation between local mods and global mods. Add singular auth functions like is_owner() is_global_mod() is_local_mod() for cases where differentiation based on a returned int value is not ideal.

Add a "whitelist" auth level. This should be fairly simple, since it will use almost identical code to the mod list, but with a few extra chat commands to add / remove people from the whitelist. Might want to also look at dumping / loading the whitelist from a file to make it persistent.

Related to #16

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions