Use valid transmitter Log default (discord) (#1402)
* Use valid transmitter Log default (discord) Using a logger created by `log.NewEntry(nil)` would crash. (matterbridge does not encounter this issue as it updates the Log field manually.)
This commit is contained in:
		| @@ -58,7 +58,7 @@ func New(session *discordgo.Session, guild string, title string, autoCreate bool | ||||
|  | ||||
| 		channelWebhooks: make(map[string]*discordgo.Webhook), | ||||
|  | ||||
| 		Log: log.NewEntry(nil), | ||||
| 		Log: log.NewEntry(log.StandardLogger()), | ||||
| 	} | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Qais Patankar
					Qais Patankar