From b84a98fbb99c1b9184ea6f12d7366028d488beb3 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sat, 5 Dec 2020 18:18:51 -0500 Subject: member, emoji --- discord/discord.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/discord.hpp') diff --git a/discord/discord.hpp b/discord/discord.hpp index 50886bd..73eb46c 100644 --- a/discord/discord.hpp +++ b/discord/discord.hpp @@ -82,12 +82,12 @@ public: void FetchMessagesInChannelBefore(Snowflake channel_id, Snowflake before_id, std::function &)> cb); std::optional GetMessage(Snowflake id) const; const Channel *GetChannel(Snowflake id) const; + std::optional GetEmoji(Snowflake id) const; std::optional GetPermissionOverwrite(Snowflake channel_id, Snowflake id) const; std::optional GetUser(Snowflake id) const; std::optional GetRole(Snowflake id) const; const Guild *GetGuild(Snowflake id) const; - const GuildMember *GetMember(Snowflake user_id, Snowflake guild_id) const; - const Emoji *GetEmoji(Snowflake id) const; + std::optional GetMember(Snowflake user_id, Snowflake guild_id) const; Snowflake GetMemberHoistedRole(Snowflake guild_id, Snowflake user_id, bool with_color = false) const; Snowflake GetMemberHighestRole(Snowflake guild_id, Snowflake user_id) const; std::unordered_set GetUsersInGuild(Snowflake id) const; -- cgit v1.2.3