Skip to content

Commit

Permalink
Disable all but necessary caching
Browse files Browse the repository at this point in the history
  • Loading branch information
parafoxia committed Jan 14, 2022
1 parent d931025 commit 096cb9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modmail/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
default_enabled_guilds=Config.GUILD_ID,
case_insensitive_prefix_commands=True,
intents=hikari.Intents.ALL,
cache_settings=hikari.CacheSettings(
components=hikari.CacheComponents.GUILDS | hikari.CacheComponents.MEMBERS
),
)

bot.d.scheduler = AsyncIOScheduler()
Expand Down

0 comments on commit 096cb9c

Please sign in to comment.