14 lines
203 B
Go
14 lines
203 B
Go
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)
|
|
}
|
|
}
|