File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,9 +161,8 @@ class BotApp(
161161 If `builtins.True`, the bot will not implement a cache, and will be
162162 considered stateless. If `builtins.False`, then a cache will be used.
163163
164- While the cache components are a WIP, this will default to
165- `builtins.True`. This should be expected to be changed to
166- `builtins.False` before the first non-development release is made.
164+ This defaults to `builtins.False`, meaning your bot will retain an
165+ in-memory cache of the known gateway state.
167166 token : builtins.str
168167 The bot token to use. This should not start with a prefix such as
169168 `Bot `, but instead only contain the token itself.
@@ -255,7 +254,7 @@ def __init__(
255254 rest_url : typing .Optional [str ] = None ,
256255 shard_ids : typing .Optional [typing .AbstractSet [int ]] = None ,
257256 shard_count : typing .Optional [int ] = None ,
258- stateless : bool = True ,
257+ stateless : bool = False ,
259258 token : str ,
260259 ) -> None :
261260 if undefined .count (shard_ids , shard_count ) == 1 :
You can’t perform that action at this time.
0 commit comments