Skip to content

Commit

Permalink
Fix return in QLC cheatsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 authored May 4, 2024
1 parent dfe11f1 commit febaaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/cheat-sheets/qlc.cheatmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ As per the Erlang docs for QLC:

```erl
find_role_users(RequestedGuildId, RoleId, MemberCache) ->
qlc:q([{User, Member} || {{GuildId, MemberId}, Member} <- MemberCache:query_handle(),
qlc:q([Member || {{GuildId, MemberId}, Member} <- MemberCache:query_handle(),
% Filter to member objects of the selected guild
GuildId =:= RequestedGuildId,
% Filter to members of the provided role
Expand Down

0 comments on commit febaaa1

Please # to comment.