diff options
| -rw-r--r-- | bot/__init__.py | 4 | ||||
| -rw-r--r-- | config-default.yml | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bot/__init__.py b/bot/__init__.py index df168cba4..5a446d71c 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -88,7 +88,9 @@ for key, value in logging.Logger.manager.loggerDict.items(): value.addHandler(handler) -# Silence discord and websockets +# Silence aio_pika.pika.{callback,channel}, discord, PIL, and and websockets +logging.getLogger("aio_pika.pika.callback").setLevel(logging.ERROR) +logging.getLogger("aio_pika.pika.channel").setLevel(logging.ERROR) logging.getLogger("discord.client").setLevel(logging.ERROR) logging.getLogger("discord.gateway").setLevel(logging.ERROR) logging.getLogger("discord.state").setLevel(logging.ERROR) diff --git a/config-default.yml b/config-default.yml index cfe456fbe..772169a29 100644 --- a/config-default.yml +++ b/config-default.yml @@ -280,7 +280,7 @@ anti_spam: links: interval: 10 - max: 4 + max: 20 mentions: interval: 10 |