[skip ci] feat: prepare for public release
This commit is contained in:
@@ -121,10 +121,6 @@ handle_call(_Request, _From, State) ->
|
||||
{reply, ok, State}.
|
||||
|
||||
handle_cast({handle_message_create, Params}, State) ->
|
||||
ParamMap = case Params of Maps when is_map(Maps) -> Maps; _ -> #{} end,
|
||||
GuildId = maps:get(<<"guild_id">>, ParamMap, undefined),
|
||||
ChannelId = maps:get(<<"channel_id">>, ParamMap, undefined),
|
||||
MessageId = maps:get(<<"id">>, ParamMap, undefined),
|
||||
{noreply, do_handle_message_create(Params, State)};
|
||||
handle_cast({sync_user_guild_settings, UserId, GuildId, UserGuildSettings}, State) ->
|
||||
#{
|
||||
|
||||
@@ -89,7 +89,7 @@ fetch_and_cache_user_guild_settings(UserId, GuildId, _State) ->
|
||||
),
|
||||
Settings
|
||||
end;
|
||||
{error, Reason} ->
|
||||
{error, _Reason} ->
|
||||
null
|
||||
end.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user