yourWaifu / sleepy-discord

C++ library for the Discord chat client. Please use Rust for new bots
https://yourWaifu.github.io/sleepy-discord/
MIT License
707 stars 95 forks source link

Segmentation fault with to many messages #113

Open Janrupf opened 6 years ago

Janrupf commented 6 years ago

When using

getMessages(channel.ID, SleepyDiscord::BaseDiscordClient::GetMessagesKey::before, channel.lastMessageID, 100).list();

and less then 100 messages are in the channel, the list() call segfaults