th0mcumm1ngs / ARWIN

https://thomcummings.dev
1 stars 0 forks source link

Bug Report: /announce command #13

Closed th0mcumm1ngs closed 3 years ago

th0mcumm1ngs commented 3 years ago

Describe the bug When announcing a message, if a user's name is included in the message it is removed from the message and passed as a recipient argument instead of part of the message.

To Reproduce Steps to reproduce the behaviour:

  1. Send "/announce everyone hello my name is tom" to the bot.
  2. The bot will send "Announcement from Tom. "hello my name is"" to the main channel.
  3. It will also send "Announcement from Tom. "hello my name is"" to tom.
  4. Along with "Your message was sent successfully." as it should.

Expected behaviour It should send the message "Announcement from Tom. "hello my name is tom" to the main channel and "Your message was sent successfully." to Tom.

Screenshots image image

th0mcumm1ngs commented 3 years ago

Bug fixed in 7f013253098fee73e4c8d356155c2d99dc563e10