Open stemount opened 3 years ago
/\+\+\s*$/
Should work
we are currently able to get the mention from the message, and this does apply to nicknames. we could possibly try recognizing names from just random text, like "rep stemount ++" => "did you mean: @stemount?"
right now, I am splitting the string into arguments with explode()
, and then checking that there is only one a mention in the message, and making sure it starts with "rep".
I used a .includes("++")
in my TS implementation
Basic bot functionality:
[Discord Users account username]