add question to utilGetMentioned for future refactoring

This commit is contained in:
da
2021-04-14 15:05:44 +02:00
parent ab21a9d0cf
commit 00971bcca0
+1
View File
@@ -418,6 +418,7 @@ func displayBotStats(cid string) {
discord.ChannelMessageSend(cid, buf.String())
}
// what did I start here?
func utilGetMentioned(s *discordgo.Session, m *discordgo.MessageCreate) *discordgo.User {
for _, mention := range m.Mentions {
if mention.ID != s.State.Ready.User.ID {