Inconsistent bot prefixes #5
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
.).