ivan-ristovic / the-godfather

Feature-rich general-purpose Discord bot written in C# using DSharpPlus
GNU General Public License v3.0
17 stars 6 forks source link

AggregateException while executing GUILD_MEMBERS_ADD #5

Closed ivan-ristovic closed 7 years ago

ivan-ristovic commented 7 years ago

For some reason default channel message does not work with some servers. Wait next update for D#+?

Anyway for sure get inner exception from AggregateException for better logging.

ivan-ristovic commented 7 years ago

Apparently happens occasionally under MESSAGE_UPDATED as well and REACTIONS_ADDED.

Seems to be tied to rate limit, since D#+ got updated and rates were changed, it now appears less often but still I have no good and clean way of catching it regardless of where it appears. Will think of something soon...

ivan-ristovic commented 7 years ago

Fixed by adding ability to set a channel to send welcome/leave messages. (Discord removed the "default" channel being the first created when build was created. Therefore on some guilds it isn't returned properly)