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:
Send "/announce everyone hello my name is tom" to the bot.
The bot will send "Announcement from Tom. "hello my name is"" to the main channel.
It will also send "Announcement from Tom. "hello my name is"" to tom.
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.
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:
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