From 5861ac25313c7e77c007b676e0b257dbeec7d7d5 Mon Sep 17 00:00:00 2001 From: Joe Sweeney Date: Sun, 17 Nov 2024 18:10:59 -0500 Subject: [PATCH] Specify required config for member cache --- lib/nostrum/cache/member_cache.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nostrum/cache/member_cache.ex b/lib/nostrum/cache/member_cache.ex index 009a53f1c..16d785f56 100644 --- a/lib/nostrum/cache/member_cache.ex +++ b/lib/nostrum/cache/member_cache.ex @@ -14,6 +14,8 @@ defmodule Nostrum.Cache.MemberCache do The user-facing functions of this module can be called with a custom cache as the final argument. This is mainly useful if you want to test the cache: by default, nostrum will use #{@default_cache_implementation}. + + 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. """ @moduledoc since: "0.7.0"