Skip to content

Add .clearpronouns command #2137

@eliocamp

Description

@eliocamp

The problem

Users might set their pronouns by mistake or just to test the functionality and then they are stuck.

The solution

Add an "unsetpronouns" that deletes pronoun information for the nick.
Something like this might work.

@plugin.command('unsetpronouns')
def unset_pronouns(bot, trigger):
        bot.db.delete_nick_value(trigger.nick, 'pronouns')

Metadata

Metadata

Assignees

No one assigned

    Labels

    EasyfixBugs or Tweaks that are easy for a new contributor to fix or implementFeatureLow Priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions