diff options
author | 2020-02-23 10:04:06 -0700 | |
---|---|---|
committer | 2020-02-23 10:04:06 -0700 | |
commit | 2af642e5989e99d2f81094955ceec10b7c68e648 (patch) | |
tree | 65548e51f929cf25199ea5c527ef3d7ab9a65d1e | |
parent | Change verification post log level to info, tidy code. (diff) | |
parent | Merge pull request #756 from python-discord/bug/backend/s329/docker-compose-tty (diff) |
Merge branch 'master' into checkout-msg-log
-rw-r--r-- | bot/cogs/tags.py | 6 | ||||
-rw-r--r-- | docker-compose.yml | 2 |
2 files changed, 6 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() diff --git a/docker-compose.yml b/docker-compose.yml index 7281c7953..11deceae8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,6 +23,7 @@ services: - staff.web ports: - "127.0.0.1:8000:8000" + tty: true depends_on: - postgres environment: @@ -37,6 +38,7 @@ services: volumes: - ./logs:/bot/logs - .:/bot:ro + tty: true depends_on: - web environment: |