refactor: set disnake log level to WARNING
This commit is contained in:
parent
27a460fa6e
commit
93c67f707c
2
main.py
2
main.py
@ -14,5 +14,7 @@ if __name__ == "__main__":
|
|||||||
datefmt="%Y-%m-%d %T",
|
datefmt="%Y-%m-%d %T",
|
||||||
level=logging.DEBUG if __debug__ else logging.INFO,
|
level=logging.DEBUG if __debug__ else logging.INFO,
|
||||||
)
|
)
|
||||||
|
logging.getLogger("disnake").setLevel(logging.WARNING)
|
||||||
|
|
||||||
events.prepare()
|
events.prepare()
|
||||||
client.run(constants.SECRETS["TOKEN"])
|
client.run(constants.SECRETS["TOKEN"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user