Skip to content

Fix Bad Request error when calling InitializeCacheAsync method on the DiscordRestClient.

Mateusz Brawański requested to merge github/fork/Kiritsu/pr-2 into master

Created by: Kiritsu

Summary

InitializeCacheAsync was throwing a 400 Bad Request exception when using the DiscordRestClient.

Details

InitializeCacheAsync was trying to retrieve the guilds and the way to call the endpoint /users/@me/guilds was totally wrong. Now it does use the parameters limit, before and after correctly.

Should finally fix #275 (closed)

Merge request reports

Loading