Inconsistent bot prefixes #5
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: bea/HidekoBot#5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We should:
We should grab all strings from the config and automate building a RegEx similar to
(?i)^(prefix1|prefix2|prefix3)\b
.This has the drawback of limiting us to specific one-word prefixes, but we could technically add exceptions to the message listener to also still support more elaborate RegEx expressions (or support eg. a single
!
as a prefix, without being followed by a word break, like!help
.).