mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-27 16:16:35 +03:00
fix some parameter ordering
This commit is contained in:
@@ -188,7 +188,7 @@ std::optional<EmojiData> DiscordClient::GetEmoji(Snowflake id) const {
|
||||
}
|
||||
|
||||
Snowflake DiscordClient::GetMemberHoistedRole(Snowflake guild_id, Snowflake user_id, bool with_color) const {
|
||||
const auto data = GetMember(guild_id, user_id);
|
||||
const auto data = GetMember(user_id, guild_id);
|
||||
if (!data.has_value()) return Snowflake::Invalid;
|
||||
|
||||
std::vector<RoleData> roles;
|
||||
|
||||
Reference in New Issue
Block a user