[92mYour bot is up-to-date! - v2.7.1[0m
[2025-05-24 12:01:19] [INFO ] discord.client: logging in using static token
Traceback (most recent call last):
File "C:\Users\azmathvn\Desktop\isaithalaivitest\main.py", line 247, in <module>
bot.run(func.settings.token, root_logger=True)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\azmathvn\AppData\Roaming\Python\Python313\site-packages\discord\client.py", line 906, in run
asyncio.run(runner())
~~~~~~~~~~~^^^^^^^^^^
File "C:\Program Files\Python313\Lib\asyncio\runners.py", line 195, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "C:\Program Files\Python313\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Program Files\Python313\Lib\asyncio\base_events.py", line 719, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "C:\Users\azmathvn\AppData\Roaming\Python\Python313\site-packages\discord\client.py", line 895, in runner
await self.start(token, reconnect=reconnect)
File "C:\Users\azmathvn\AppData\Roaming\Python\Python313\site-packages\discord\client.py", line 823, in start
await self.login(token)
File "C:\Users\azmathvn\AppData\Roaming\Python\Python313\site-packages\discord\client.py", line 649, in login
raise TypeError(f'expected token to be a str, received {token.__class__.__name__} instead')
TypeError: expected token to be a str, received NoneType instead```
This is the clear error