Fix slash command prefix to / #75
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "slash-prefix-fix"
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?
Summary
Previously slash commands would fetch the prefix and prepend this to the fake message content. This is stupid. I instead just made
bot.get_prefix
check if it is a_FakeSlashMessage
then return"/"
so the prefix is always/
when using a slash command.Checklist