Remove @Mention on Return of Command

Posted in General by Richard Sparrow Fri Feb 24 2017 16:36:31 GMT+0000 (UTC)·3·Viewed 753 times

When someone does a command, how do I stop the bot from automatically mentioning the sender? Thanks
Ben Harris
Mar 13, 2017

Do $message->channel->sendMessage() instead of $message->reply()

Christina Ellen
Dec 2, 2018

How would I apply this to a registerCommand() function? I am simply returning a string but the @mention of the user who invoked the bot is prepended to my response.

Christina Ellen
Dec 2, 2018

How would I apply this to a registerCommand function? I am simply returning a string but the @mention of the user who invoked the bot is prepended to my response.

  
Markdown is allowed