moved logging config
This commit is contained in:
@@ -65,8 +65,6 @@ class Kwaylon(Client):
|
||||
datefmt=dt_fmt,
|
||||
handlers=[rich_handler]
|
||||
)
|
||||
logging.getLogger('discord.http').setLevel(logging.WARNING)
|
||||
logging.getLogger('discord.gateway').setLevel(logging.WARNING)
|
||||
|
||||
intents = Intents.default()
|
||||
intents.message_content = True
|
||||
|
||||
@@ -17,6 +17,8 @@ if __name__ == '__main__':
|
||||
logging.DEBUG
|
||||
)
|
||||
)
|
||||
logging.getLogger('discord').setLevel(logging.WARNING)
|
||||
logging.getLogger('urllib3').setLevel(logging.INFO)
|
||||
try:
|
||||
loop.run_forever()
|
||||
except KeyboardInterrupt:
|
||||
|
||||
Reference in New Issue
Block a user