From d4ba003dd624d2ac8d81fd9729e3dc5cc5ada8a8 Mon Sep 17 00:00:00 2001 From: Blue-Robin-Taken <86581171+Blue-Robin-Taken@users.noreply.github.com> Date: Sat, 8 Jul 2023 23:31:12 -0500 Subject: [PATCH] Update docs/faq.rst Co-authored-by: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com> Signed-off-by: Blue-Robin-Taken <86581171+Blue-Robin-Taken@users.noreply.github.com> --- docs/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.rst b/docs/faq.rst index c6231020e2..e6b7f58001 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -111,7 +111,7 @@ Putting both of these pieces of info together, you get the following: :: What is the difference between get_ methods and fetch_ methods? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -"Get" methods retrieve objects or data from the cache (general store of data) and can return ``None`` if not found (this doesn't raise an error). "Fetch" methods force an API request and will raise an error if not found. Example: :: +"Get" methods retrieve objects or data from the cache (general store of data) and can return ``None`` if not found. "Fetch" methods force an API request and will raise an error if not found. Example: :: role = member.guild.get_role(id) # try to get role without an API request through the cache if role is not None: