started adding sticky messages
This commit is contained in:
13
handle_messages.go
Normal file
13
handle_messages.go
Normal 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)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user