started adding sticky messages

This commit is contained in:
2024-02-21 16:10:52 +01:00
parent 06809f2c40
commit 304f93e28d
5 changed files with 120 additions and 5 deletions

13
handle_messages.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
"fmt"
"github.com/bwmarrin/discordgo"
)
func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
if m.Author.ID != s.State.User.ID {
fmt.Print(m.Content)
}
}