Skip to content

Commit

Permalink
Remove TestEvent (#8)
Browse files Browse the repository at this point in the history
Remove an event listener that was used for initial testing with
listeners. Currently does nothing but pollute the log.
  • Loading branch information
myrkvi authored Aug 20, 2024
2 parents d200d1b + 2cb484b commit 493dfbf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions listeners/notify_on_warned_user_join.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,3 @@ func OnWarnedUserJoin(e *events.GuildMemberJoin) {
extraMsg,
).Build())
}

func TestEvent(e *events.GuildMessageReactionAdd) {
fmt.Println("TestEvent called")
fmt.Printf("%#v\n", e.Member)
}
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ func main() {
}),
bot.WithEventListenerFunc(listeners.OnWarnedUserJoin),
bot.WithEventListenerFunc(listeners.OnGatekeepUserJoin),
bot.WithEventListenerFunc(listeners.TestEvent),
bot.WithEventListenerFunc(listeners.OnUserJoin),
bot.WithEventListenerFunc(listeners.OnUserLeave),
bot.WithEventListenerFunc(listeners.OnMemberBan),
Expand Down

0 comments on commit 493dfbf

Please sign in to comment.