aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2023-05-06 16:58:33 +0100
committerGravatar shtlrs <[email protected]>2023-05-06 16:58:33 +0100
commit0e202c04bd6c5976afdcd4d10a62fde386dcf440 (patch)
tree19640e6f34e9fab1a19acb21af7e4a7356e181d0 /bot
parentRun null check on needed api keys before loading cogs. (diff)
log warning in Reddit Cog
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/utilities/reddit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utilities/reddit.py b/bot/exts/utilities/reddit.py
index 43a82aef..f7c196ae 100644
--- a/bot/exts/utilities/reddit.py
+++ b/bot/exts/utilities/reddit.py
@@ -358,6 +358,6 @@ class Reddit(Cog):
async def setup(bot: Bot) -> None:
"""Load the Reddit cog."""
if not RedditConfig.secret or not RedditConfig.client_id:
- log.error("Credentials not provided, cog not loaded.")
+ log.warning("Credentials not provided, cog not loaded.")
return
await bot.add_cog(Reddit(bot))