bumblepie / haikubot

A discord bot that recognises haikus in user messages and saves them for later reference.
MIT License
1 stars 1 forks source link

Convert mentions to display names for the purposes of counting syllables #42

Open bumblepie opened 5 years ago

bumblepie commented 5 years ago

Mentions currently look like this: <@1243141> to the bot, but like this @username to the users. This creates a disconnect when a haiku containing a mention is made and the mention counts as zero syllables. Additionally, we want to just save the in time display names (within the haiku lines) if we do this, as nicknames change over time, so things might make less sense and the syllable count might be off. It also means people don't get mentioned if they're mentioned in a haiku and it gets looked up.