8000 Trigger words · Issue #118 · jrabbit/pyborg-1up · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Trigger words #118
Open
Open
@researcx

Description

@researcx

Have a configurable list of trigger words and a configuration option for % chance to reply upon a word being said.
Perhaps do something like how weechat's highlights work.

This could also change how #26 is done as users could just have bot's nick in the list and optionally put a "(?-i)" before it to make it case sensitive if desired, you could just set the default/example as the bot's nick.

Example:

# Trigger words
# Put "(?-i)" before a word to make it case sensitive
# Words may begin or end with "*" for partial match
trigger_words = ["(?-i)Pyborg"]
# Chance of reply (%) per trigger word
trigger_reply_chance = 100

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0