Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mentioning the bot anywhere in a message will treat the second word as a command #768

Willard21 opened this issue Dec 1, 2018 · 1 comment


Copy link

@Willard21 Willard21 commented Dec 1, 2018

Describe the bug
Mentioning the bot anywhere in a message will treat the second word as a command.

To Reproduce

  1. `randomThing <command> @DiscordRPG
  2. Get a response

Expected behavior
Either the first word shouldn't be ignored (if this was intended behavior) or it should only work if the message starts with the mention.



This comment has been minimized.

Copy link

@PlayTheFallen PlayTheFallen commented Dec 1, 2018

i was working on a method for another project that would gather all prefixes and treat them as if they were regex patterns


this can be implemented into the game simply by doing something like regex pattern environment.

@Willard21 Willard21 self-assigned this Jan 31, 2019
@Willard21 Willard21 added the Review label Jan 31, 2019
@Willard21 Willard21 closed this Feb 6, 2019
@Willard21 Willard21 added Awaiting Push and removed Review labels Feb 6, 2019
@Sven65 Sven65 removed the Awaiting Push label Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.