dashwav/yin-bot

Logging into only some servers

Closed this issue · 0 comments

Kyuunex - ""When someone changes his username and is in 2 servers and logging is enabled on both servers it only logs this change on only 1 server. This behavior seems to inconsistent and it seems random where it will log it.""

https://github.com/dashwav/yin-bot/blob/master/cogs/logging.py#L348
This needs to be changed to find all guilds that the member is in on the server, create a list of logging channels in those servers and then iterate through all of them posting the member updated message