Skip to content

Commit 4340eda

Browse files
jswnyjchristgit
authored andcommittedJan 30, 2025
Specify required config for member cache
1 parent 7347e49 commit 4340eda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎lib/nostrum/cache/member_cache.ex

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ defmodule Nostrum.Cache.MemberCache do
1414
The user-facing functions of this module can be called with a custom cache as
1515
the final argument. This is mainly useful if you want to test the cache: by
1616
default, nostrum will use #{@default_cache_implementation}.
17+
18+
In order to use this cache, you must enable the `:guild_members` intent, and you must also enable the `request_guild_members: true` configuration option.
1719
"""
1820
@moduledoc since: "0.7.0"
1921

0 commit comments

Comments
 (0)