You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
Due to the async design, a MESSAGE_CREATE can be processed prior to a GUILD_CREATE creating the scenario of a message being handled that has no channel in the cache which leads to the message being rejected.
Solution is to perform a create_channel() to create a semi-empty channel so the message can still be handled. This would be best accomplished with some sort of flag in the channel object itself to identify whether or not the channel is in this empty state or has been populated by a GUILD_CREATE or CHANNEL_CREATE.
The text was updated successfully, but these errors were encountered:
Due to the async design, a
MESSAGE_CREATE
can be processed prior to aGUILD_CREATE
creating the scenario of a message being handled that has no channel in the cache which leads to the message being rejected.aegis.cpp/include/aegis/impl/core.cpp
Line 1202 in 176c67b
Solution is to perform a
create_channel()
to create a semi-empty channel so the message can still be handled. This would be best accomplished with some sort of flag in the channel object itself to identify whether or not the channel is in this empty state or has been populated by aGUILD_CREATE
orCHANNEL_CREATE
.The text was updated successfully, but these errors were encountered: