Skip to content

Event examples #1194

Answered by 42atomys
actualdankcoder asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, you have a very simple example about handling event (like messageCreate) on ping pong example available here https://github.com/bwmarrin/discordgo/blob/master/examples/pingpong/main.go

All handlers can be found in your IDE or on the eventhandler.go source file (

func handlerForInterface(handler interface{}) EventHandler {
)

Best regards :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by actualdankcoder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants