diff options
-rw-r--r-- | pydis_core/_bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_core/_bot.py b/pydis_core/_bot.py index 09ab2a63..0d0682f7 100644 --- a/pydis_core/_bot.py +++ b/pydis_core/_bot.py @@ -73,7 +73,7 @@ class BotBase(commands.Bot): self.statsd_url = statsd_url if redis_session and not REDIS_AVAILABLE: - warnings.warn("redis_session kwarg passed, but async-rediscache not installed!") + warnings.warn("redis_session kwarg passed, but async-rediscache not installed!", stacklevel=2) elif redis_session: self.redis_session = redis_session |