[skip ci] feat: prepare for public release

This commit is contained in:
Hampus Kraft
2026-01-02 19:27:51 +00:00
parent 197b23757f
commit 5ae825fc7d
199 changed files with 38391 additions and 33358 deletions

View File

@@ -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) ->
#{

View File

@@ -89,7 +89,7 @@ fetch_and_cache_user_guild_settings(UserId, GuildId, _State) ->
),
Settings
end;
{error, Reason} ->
{error, _Reason} ->
null
end.