mirror of
https://github.com/Rainyy21/lol_discordbot
synced 2026-10-10 23:00:32 -04:00
267 lines
21 KiB
Plaintext
267 lines
21 KiB
Plaintext
[2026-04-16 22:50:39] [INFO ] discord.client: logging in using static token
|
|
Traceback (most recent call last):
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/aiohttp/connector.py", line 1325, in _wrap_create_connection
|
|
return await self._loop.create_connection(*args, **kwargs, sock=sock)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/asyncio/base_events.py", line 1188, in create_connection
|
|
transport, protocol = await self._create_connection_transport(
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...<2 lines>...
|
|
ssl_shutdown_timeout=ssl_shutdown_timeout)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/asyncio/base_events.py", line 1221, in _create_connection_transport
|
|
await waiter
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/asyncio/sslproto.py", line 581, in _on_handshake_complete
|
|
raise handshake_exc
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/asyncio/sslproto.py", line 563, in _do_handshake
|
|
self._sslobj.do_handshake()
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/ssl.py", line 951, in do_handshake
|
|
self._sslobj.do_handshake()
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~^^
|
|
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1018)
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/Users/simonzheng/Documents/vscode/lolBot/bot.py", line 56, in <module>
|
|
client.run(Discord_Token)
|
|
~~~~~~~~~~^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/client.py", line 933, in run
|
|
asyncio.run(runner())
|
|
~~~~~~~~~~~^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/asyncio/runners.py", line 194, in run
|
|
return runner.run(main)
|
|
~~~~~~~~~~^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/asyncio/runners.py", line 118, in run
|
|
return self._loop.run_until_complete(task)
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/asyncio/base_events.py", line 720, in run_until_complete
|
|
return future.result()
|
|
~~~~~~~~~~~~~^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/client.py", line 922, in runner
|
|
await self.start(token, reconnect=reconnect)
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/client.py", line 850, in start
|
|
await self.login(token)
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/client.py", line 679, in login
|
|
data = await self.http.static_login(token)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/http.py", line 844, in static_login
|
|
data = await self.request(Route('GET', '/users/@me'))
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/http.py", line 659, in request
|
|
async with self.__session.request(method, url, **kwargs) as response:
|
|
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/aiohttp/client.py", line 1521, in __aenter__
|
|
self._resp: _RetType = await self._coro
|
|
^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/aiohttp/client.py", line 788, in _request
|
|
resp = await handler(req)
|
|
^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/aiohttp/client.py", line 742, in _connect_and_send_request
|
|
conn = await self._connector.connect(
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
req, traces=traces, timeout=real_timeout
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
)
|
|
^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/aiohttp/connector.py", line 672, in connect
|
|
proto = await self._create_connection(req, traces, timeout)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/aiohttp/connector.py", line 1251, in _create_connection
|
|
_, proto = await self._create_direct_connection(req, traces, timeout)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/aiohttp/connector.py", line 1623, in _create_direct_connection
|
|
raise last_exc
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/aiohttp/connector.py", line 1592, in _create_direct_connection
|
|
transp, proto = await self._wrap_create_connection(
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
...<7 lines>...
|
|
)
|
|
^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/aiohttp/connector.py", line 1327, in _wrap_create_connection
|
|
raise ClientConnectorCertificateError(req.connection_key, exc) from exc
|
|
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discord.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1018)')]
|
|
2026-04-22 00:50:03,180 [WARNING] discord.client: PyNaCl is not installed, voice will NOT be supported
|
|
2026-04-22 00:50:03,181 [WARNING] discord.client: davey is not installed, voice will NOT be supported
|
|
2026-04-22 00:50:03,182 [INFO] discord.client: logging in using static token
|
|
2026-04-22 00:50:03,704 [INFO] bot: ✅ Loaded extension: commands.login
|
|
2026-04-22 00:50:03,708 [ERROR] bot: ❌ Failed to load commands.profile: Extension 'commands.profile' raised an error: NameError: name 'discord' is not defined
|
|
2026-04-22 00:50:03,714 [INFO] bot: ✅ Loaded extension: commands.recent
|
|
2026-04-22 00:50:03,910 [INFO] bot: 🔄 Slash commands synced
|
|
2026-04-22 00:50:04,352 [WARNING] bot: ⚠️ Bot disconnected from Discord
|
|
2026-04-22 00:54:47,504 [WARNING] discord.client: PyNaCl is not installed, voice will NOT be supported
|
|
2026-04-22 00:54:47,505 [WARNING] discord.client: davey is not installed, voice will NOT be supported
|
|
2026-04-22 00:54:47,506 [INFO] discord.client: logging in using static token
|
|
2026-04-22 00:54:47,891 [INFO] bot: ✅ Loaded extension: commands.login
|
|
2026-04-22 00:54:47,899 [INFO] bot: ✅ Loaded extension: commands.profile
|
|
2026-04-22 00:54:47,900 [INFO] bot: ✅ Loaded extension: commands.recent
|
|
2026-04-22 00:54:48,183 [INFO] bot: 🔄 Slash commands synced
|
|
2026-04-22 00:54:48,576 [WARNING] bot: ⚠️ Bot disconnected from Discord
|
|
2026-04-22 01:02:58,262 [WARNING] discord.client: PyNaCl is not installed, voice will NOT be supported
|
|
2026-04-22 01:02:58,263 [WARNING] discord.client: davey is not installed, voice will NOT be supported
|
|
2026-04-22 01:02:58,264 [INFO] discord.client: logging in using static token
|
|
2026-04-22 01:02:58,661 [INFO] bot: ✅ Loaded extension: commands.login
|
|
2026-04-22 01:02:58,661 [INFO] bot: ✅ Loaded extension: commands.profile
|
|
2026-04-22 01:02:58,663 [INFO] bot: ✅ Loaded extension: commands.recent
|
|
2026-04-22 01:02:58,798 [INFO] bot: 🔄 Slash commands synced
|
|
2026-04-22 01:03:01,276 [INFO] discord.gateway: Shard ID None has connected to Gateway (Session ID: 8ffd3e5eaf4edabab0603b0294b5b94f).
|
|
2026-04-22 01:03:03,284 [INFO] bot: ✅ Logged in as league of legend bot#3877 (ID: 1494467149186465862)
|
|
2026-04-22 01:03:03,284 [INFO] bot: Guilds : 1
|
|
2026-04-22 01:03:03,285 [INFO] bot: Ping : 42ms
|
|
2026-04-22 01:03:32,882 [ERROR] discord.app_commands.tree: Ignoring exception in command tree
|
|
Traceback (most recent call last):
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/tree.py", line 1138, in wrapper
|
|
await self._call(interaction)
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/tree.py", line 1270, in _call
|
|
command, options = self._get_app_command_options(data)
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/tree.py", line 1174, in _get_app_command_options
|
|
raise CommandNotFound(name, parents)
|
|
discord.app_commands.errors.CommandNotFound: Application command 'ping' not found
|
|
2026-04-22 01:03:53,411 [ERROR] discord.app_commands.tree: Ignoring exception in command 'login'
|
|
Traceback (most recent call last):
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/tree.py", line 1302, in _call
|
|
await command._invoke_with_namespace(interaction, namespace)
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/commands.py", line 883, in _invoke_with_namespace
|
|
transformed_values = await self._transform_arguments(interaction, namespace)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/commands.py", line 847, in _transform_arguments
|
|
raise CommandSignatureMismatch(self) from None
|
|
discord.app_commands.errors.CommandSignatureMismatch: The signature for command 'login' is different from the one provided by Discord. This can happen because either your code is out of date or you have not synced the commands with Discord, causing the mismatch in data. It is recommended to sync the command tree to fix this issue.
|
|
2026-04-22 03:20:37,191 [WARNING] discord.client: PyNaCl is not installed, voice will NOT be supported
|
|
2026-04-22 03:20:37,192 [WARNING] discord.client: davey is not installed, voice will NOT be supported
|
|
2026-04-22 03:20:37,193 [INFO] discord.client: logging in using static token
|
|
2026-04-22 03:20:37,715 [INFO] bot: ✅ Loaded extension: commands.login
|
|
2026-04-22 03:20:37,726 [INFO] bot: ✅ Loaded extension: commands.profile
|
|
2026-04-22 03:20:37,731 [INFO] bot: ✅ Loaded extension: commands.recent
|
|
2026-04-22 03:20:37,899 [INFO] bot: 🔄 Slash commands synced
|
|
2026-04-22 03:20:38,668 [INFO] discord.gateway: Shard ID None has connected to Gateway (Session ID: c6e5a2c0cdf32e5c69cdbabeed40a2d4).
|
|
2026-04-22 03:20:40,672 [INFO] bot: ✅ Logged in as league of legend bot#3877 (ID: 1494467149186465862)
|
|
2026-04-22 03:20:40,674 [INFO] bot: Guilds : 1
|
|
2026-04-22 03:20:40,674 [INFO] bot: Ping : 45ms
|
|
2026-04-22 03:21:03,101 [ERROR] discord.app_commands.tree: Ignoring exception in command 'login'
|
|
Traceback (most recent call last):
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/tree.py", line 1302, in _call
|
|
await command._invoke_with_namespace(interaction, namespace)
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/commands.py", line 883, in _invoke_with_namespace
|
|
transformed_values = await self._transform_arguments(interaction, namespace)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/commands.py", line 847, in _transform_arguments
|
|
raise CommandSignatureMismatch(self) from None
|
|
discord.app_commands.errors.CommandSignatureMismatch: The signature for command 'login' is different from the one provided by Discord. This can happen because either your code is out of date or you have not synced the commands with Discord, causing the mismatch in data. It is recommended to sync the command tree to fix this issue.
|
|
2026-04-22 03:44:35,358 [WARNING] discord.client: PyNaCl is not installed, voice will NOT be supported
|
|
2026-04-22 03:44:35,358 [WARNING] discord.client: davey is not installed, voice will NOT be supported
|
|
2026-04-22 03:44:35,359 [INFO] discord.client: logging in using static token
|
|
2026-04-22 03:44:35,751 [INFO] bot: ✅ Loaded extension: commands.login
|
|
2026-04-22 03:44:35,751 [INFO] bot: ✅ Loaded extension: commands.profile
|
|
2026-04-22 03:44:35,752 [INFO] bot: ✅ Loaded extension: commands.recent
|
|
2026-04-22 03:44:35,884 [INFO] bot: 🔄 Slash commands synced to guild 1055571472611033160
|
|
2026-04-22 03:44:36,069 [INFO] bot: 🔄 Global slash commands synced
|
|
2026-04-22 03:44:36,466 [INFO] discord.gateway: Shard ID None has connected to Gateway (Session ID: b5af520b7608ba76313f4e32f6045ed4).
|
|
2026-04-22 03:44:38,469 [INFO] bot: ✅ Logged in as league of legend bot#3877 (ID: 1494467149186465862)
|
|
2026-04-22 03:44:38,470 [INFO] bot: Guilds : 1
|
|
2026-04-22 03:44:38,470 [INFO] bot: Ping : 47ms
|
|
2026-04-23 00:15:51,686 [WARNING] discord.client: PyNaCl is not installed, voice will NOT be supported
|
|
2026-04-23 00:15:51,688 [WARNING] discord.client: davey is not installed, voice will NOT be supported
|
|
2026-04-23 00:15:51,690 [INFO] discord.client: logging in using static token
|
|
2026-04-23 00:15:52,218 [INFO] bot: ✅ Loaded extension: commands.login
|
|
2026-04-23 00:15:52,220 [INFO] bot: ✅ Loaded extension: commands.profile
|
|
2026-04-23 00:15:52,223 [INFO] bot: ✅ Loaded extension: commands.recent
|
|
2026-04-23 00:15:52,333 [INFO] bot: 🔄 Slash commands synced to guild 1055571472611033160
|
|
2026-04-23 00:15:52,674 [INFO] bot: 🔄 Global slash commands synced
|
|
2026-04-23 00:15:53,798 [INFO] discord.gateway: Shard ID None has connected to Gateway (Session ID: c95d0a5504b0553dfd47d07f17ad9d72).
|
|
2026-04-23 00:15:55,804 [INFO] bot: ✅ Logged in as league of legend bot#3877 (ID: 1494467149186465862)
|
|
2026-04-23 00:15:55,807 [INFO] bot: Guilds : 1
|
|
2026-04-23 00:15:55,807 [INFO] bot: Ping : 39ms
|
|
2026-04-23 00:23:23,262 [WARNING] discord.client: PyNaCl is not installed, voice will NOT be supported
|
|
2026-04-23 00:23:23,263 [WARNING] discord.client: davey is not installed, voice will NOT be supported
|
|
2026-04-23 00:23:23,264 [INFO] discord.client: logging in using static token
|
|
2026-04-23 00:23:23,782 [INFO] bot: ✅ Loaded extension: commands.login
|
|
2026-04-23 00:23:23,784 [ERROR] bot: ❌ Failed to load commands.profile: Extension 'commands.profile' raised an error: NameError: name 'aiohttp' is not defined
|
|
2026-04-23 00:23:23,788 [ERROR] bot: ❌ Failed to load commands.recent: Extension 'commands.recent' raised an error: NameError: name 'aiohttp' is not defined
|
|
2026-04-23 00:23:23,926 [INFO] bot: 🔄 Slash commands synced to guild 1055571472611033160
|
|
2026-04-23 00:23:24,080 [INFO] bot: 🔄 Global slash commands synced
|
|
2026-04-23 00:23:24,693 [INFO] discord.gateway: Shard ID None has connected to Gateway (Session ID: 1fe2f819a2266ec9c68c874572e3ca7c).
|
|
2026-04-23 00:23:26,699 [INFO] bot: ✅ Logged in as league of legend bot#3877 (ID: 1494467149186465862)
|
|
2026-04-23 00:23:26,699 [INFO] bot: Guilds : 1
|
|
2026-04-23 00:23:26,700 [INFO] bot: Ping : 42ms
|
|
2026-04-23 00:25:58,295 [WARNING] discord.client: PyNaCl is not installed, voice will NOT be supported
|
|
2026-04-23 00:25:58,295 [WARNING] discord.client: davey is not installed, voice will NOT be supported
|
|
2026-04-23 00:25:58,296 [INFO] discord.client: logging in using static token
|
|
2026-04-23 00:25:58,617 [INFO] bot: ✅ Loaded extension: commands.login
|
|
2026-04-23 00:25:58,619 [ERROR] bot: ❌ Failed to load commands.profile: Extension 'commands.profile' raised an error: NameError: name 'aiohttp' is not defined
|
|
2026-04-23 00:25:58,622 [ERROR] bot: ❌ Failed to load commands.recent: Extension 'commands.recent' raised an error: NameError: name 'aiohttp' is not defined
|
|
2026-04-23 00:25:58,729 [INFO] bot: 🔄 Slash commands synced to guild 1055571472611033160
|
|
2026-04-23 00:25:58,910 [INFO] bot: 🔄 Global slash commands synced
|
|
2026-04-23 00:25:59,706 [INFO] discord.gateway: Shard ID None has connected to Gateway (Session ID: 6be4de7a798203f744639beaeeb3bc77).
|
|
2026-04-23 00:26:01,749 [INFO] bot: ✅ Logged in as league of legend bot#3877 (ID: 1494467149186465862)
|
|
2026-04-23 00:26:01,760 [INFO] bot: Guilds : 1
|
|
2026-04-23 00:26:01,761 [INFO] bot: Ping : 42ms
|
|
2026-04-23 00:29:04,989 [WARNING] discord.client: PyNaCl is not installed, voice will NOT be supported
|
|
2026-04-23 00:29:04,989 [WARNING] discord.client: davey is not installed, voice will NOT be supported
|
|
2026-04-23 00:29:04,990 [INFO] discord.client: logging in using static token
|
|
2026-04-23 00:29:05,366 [INFO] bot: ✅ Loaded extension: commands.login
|
|
2026-04-23 00:29:05,370 [INFO] bot: ✅ Loaded extension: commands.profile
|
|
2026-04-23 00:29:05,373 [INFO] bot: ✅ Loaded extension: commands.recent
|
|
2026-04-23 00:29:05,663 [INFO] bot: 🔄 Slash commands synced to guild 1055571472611033160
|
|
2026-04-23 00:29:05,860 [INFO] bot: 🔄 Global slash commands synced
|
|
2026-04-23 00:29:06,727 [INFO] discord.gateway: Shard ID None has connected to Gateway (Session ID: 1caf69eb498bb76c6a22762831c789e3).
|
|
2026-04-23 00:29:08,757 [INFO] bot: ✅ Logged in as league of legend bot#3877 (ID: 1494467149186465862)
|
|
2026-04-23 00:29:08,761 [INFO] bot: Guilds : 1
|
|
2026-04-23 00:29:08,762 [INFO] bot: Ping : 43ms
|
|
2026-04-23 00:29:22,375 [ERROR] discord.app_commands.tree: Ignoring exception in command 'profile'
|
|
Traceback (most recent call last):
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/commands.py", line 858, in _do_call
|
|
return await self._callback(self.binding, interaction, **params) # type: ignore
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Users/simonzheng/Documents/vscode/lolBot/commands/profile.py", line 41, in profile
|
|
summoner_id = summoner["id"]
|
|
~~~~~~~~^^^^^^
|
|
KeyError: 'id'
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/tree.py", line 1302, in _call
|
|
await command._invoke_with_namespace(interaction, namespace)
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/commands.py", line 884, in _invoke_with_namespace
|
|
return await self._do_call(interaction, transformed_values)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/commands.py", line 877, in _do_call
|
|
raise CommandInvokeError(self, e) from e
|
|
discord.app_commands.errors.CommandInvokeError: Command 'profile' raised an exception: KeyError: 'id'
|
|
2026-04-23 00:30:43,277 [WARNING] discord.client: PyNaCl is not installed, voice will NOT be supported
|
|
2026-04-23 00:30:43,278 [WARNING] discord.client: davey is not installed, voice will NOT be supported
|
|
2026-04-23 00:30:43,279 [INFO] discord.client: logging in using static token
|
|
2026-04-23 00:30:44,221 [INFO] bot: ✅ Loaded extension: commands.login
|
|
2026-04-23 00:30:44,227 [INFO] bot: ✅ Loaded extension: commands.profile
|
|
2026-04-23 00:30:44,231 [INFO] bot: ✅ Loaded extension: commands.recent
|
|
2026-04-23 00:30:44,745 [INFO] bot: 🔄 Slash commands synced to guild 1055571472611033160
|
|
2026-04-23 00:30:44,922 [INFO] bot: 🔄 Global slash commands synced
|
|
2026-04-23 00:30:45,429 [INFO] discord.gateway: Shard ID None has connected to Gateway (Session ID: 07f28f18598c25062c3300ff0d0bf20f).
|
|
2026-04-23 00:30:47,479 [INFO] bot: ✅ Logged in as league of legend bot#3877 (ID: 1494467149186465862)
|
|
2026-04-23 00:30:47,481 [INFO] bot: Guilds : 1
|
|
2026-04-23 00:30:47,481 [INFO] bot: Ping : 50ms
|
|
2026-04-23 00:31:43,436 [ERROR] discord.app_commands.tree: Ignoring exception in command 'profile'
|
|
Traceback (most recent call last):
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/commands.py", line 858, in _do_call
|
|
return await self._callback(self.binding, interaction, **params) # type: ignore
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Users/simonzheng/Documents/vscode/lolBot/commands/profile.py", line 41, in profile
|
|
summoner_id = summoner["id"]
|
|
~~~~~~~~^^^^^^
|
|
KeyError: 'id'
|
|
|
|
The above exception was the direct cause of the following exception:
|
|
|
|
Traceback (most recent call last):
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/tree.py", line 1302, in _call
|
|
await command._invoke_with_namespace(interaction, namespace)
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/commands.py", line 884, in _invoke_with_namespace
|
|
return await self._do_call(interaction, transformed_values)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/discord/app_commands/commands.py", line 877, in _do_call
|
|
raise CommandInvokeError(self, e) from e
|
|
discord.app_commands.errors.CommandInvokeError: Command 'profile' raised an exception: KeyError: 'id'
|