Update LogEvent to use pointer to session

This commit is contained in:
Dusty Pianalto
2020-04-19 22:02:44 -08:00
parent 7203f7277f
commit 0cd57dfa16
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ type LogEvent struct {
// Guild to log event in
GuildID string
// Discordgo Session. Needed for sending messages
Session discordgo.Session
Session *discordgo.Session
}
func LoggingHandler(lc chan *LogEvent) {