aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2020-02-23 10:01:20 -0700
committerGravatar GitHub <[email protected]>2020-02-23 10:01:20 -0700
commit5fbd26847289c361f8dd51510dd0da863d609a6e (patch)
tree11587e1ee3564453960897dee2755cbe68d98b3c
parentMerge pull request #741 from Denayder/information-refactor (diff)
parentReduce log level of tag cooldown notice. (diff)
Merge pull request #774 from python-discord/cooldown-log-level
Reduce log level of tag cooldown notice.
-rw-r--r--bot/cogs/tags.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py
index 54a51921c..b6360dfae 100644
--- a/bot/cogs/tags.py
+++ b/bot/cogs/tags.py
@@ -116,8 +116,10 @@ class Tags(Cog):
if _command_on_cooldown(tag_name):
time_left = Cooldowns.tags - (time.time() - self.tag_cooldowns[tag_name]["time"])
- log.warning(f"{ctx.author} tried to get the '{tag_name}' tag, but the tag is on cooldown. "
- f"Cooldown ends in {time_left:.1f} seconds.")
+ log.info(
+ f"{ctx.author} tried to get the '{tag_name}' tag, but the tag is on cooldown. "
+ f"Cooldown ends in {time_left:.1f} seconds."
+ )
return
await self._get_tags()