нет, не заканчивается.
Traceback (most recent call last):
File "C:\Users\hedge\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\bot.py", line 606, in _load_from_module_spec
spec.loader.exec_module(lib)
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "C:\Users\hedge\PycharmProjects\corgi.bot\bot\function\moderation\ban\ban.py", line 5, in <module>
from warnings import BanWarnings
ImportError: cannot import name 'BanWarnings' from 'warnings' (C:\Users\hedge\AppData\Local\Programs\Python\Python39\lib\warnings.py)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\hedge\PycharmProjects\corgi.bot\run.py", line 4, in <module>
bot.run()
File "C:\Users\hedge\PycharmProjects\corgi.bot\bot\basic_bot.py", line 64, in run
self.setup()
File "C:\Users\hedge\PycharmProjects\corgi.bot\bot\basic_bot.py", line 69, in setup
self.bot.load_extension(self, cog)
File "C:\Users\hedge\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\bot.py", line 663, in load_extension
self._load_from_module_spec(spec, name)
File "C:\Users\hedge\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\bot.py", line 609, in _load_from_module_spec
raise errors.ExtensionFailed(key, e) from e
discord.ext.commands.errors.ExtensionFailed: Extension 'bot.function.moderation.ban.ban' raised an error: ImportError: cannot import name 'BanWarnings' from 'warnings' (C:\Users\hedge\AppData\Local\Programs\Python\Python39\lib\warnings.py)
Process finished with exit code 1