test #1

Closed
da wants to merge 6 commits from dev into master
Showing only changes of commit 9707a60934 - Show all commits
+1
View File
@@ -418,6 +418,7 @@ func displayBotStats(cid string) {
discord.ChannelMessageSend(cid, buf.String()) discord.ChannelMessageSend(cid, buf.String())
} }
// what did I start here?
func utilGetMentioned(s *discordgo.Session, m *discordgo.MessageCreate) *discordgo.User { func utilGetMentioned(s *discordgo.Session, m *discordgo.MessageCreate) *discordgo.User {
for _, mention := range m.Mentions { for _, mention := range m.Mentions {
if mention.ID != s.State.Ready.User.ID { if mention.ID != s.State.Ready.User.ID {