Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ignoring exception in slash command 'create_live_event':
- Traceback (most recent call last):
- File "C:\Users\Mekas\Documents\my_projects\VSCodeProjects\DiscordBots\ETsDiscordBot\env\Lib\site-packages\disnake\ext\commands\slash_core.py", line 732, in invoke
- await call_param_func(self.callback, inter, self.cog, **kwargs)
- File "C:\Users\Mekas\Documents\my_projects\VSCodeProjects\DiscordBots\ETsDiscordBot\env\Lib\site-packages\disnake\ext\commands\params.py", line 1022, in call_param_func
- return await maybe_coroutine(safe_call, function, **kwargs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\Mekas\Documents\my_projects\VSCodeProjects\DiscordBots\ETsDiscordBot\env\Lib\site-packages\disnake\utils.py", line 600, in maybe_coroutine
- return await value
- ^^^^^^^^^^^
- File "C:\Users\Mekas\Documents\my_projects\VSCodeProjects\DiscordBots\ETsDiscordBot\commands\live_event.py", line 25, in create_live_event
- await inter.guild.create_scheduled_event(
- File "C:\Users\Mekas\Documents\my_projects\VSCodeProjects\DiscordBots\ETsDiscordBot\env\Lib\site-packages\disnake\guild.py", line 2387, in create_scheduled_event
- "scheduled_start_time": utils.isoformat_utc(scheduled_start_time),
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\Users\Mekas\Documents\my_projects\VSCodeProjects\DiscordBots\ETsDiscordBot\env\Lib\site-packages\disnake\utils.py", line 243, in isoformat_utc
- return dt.astimezone(datetime.timezone.utc).isoformat()
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- OSError: [Errno 22] Invalid argument
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\Users\Mekas\Documents\my_projects\VSCodeProjects\DiscordBots\ETsDiscordBot\env\Lib\site-packages\disnake\ext\commands\interaction_bot_base.py", line 1377, in process_application_commands
- await app_command.invoke(interaction)
- File "C:\Users\Mekas\Documents\my_projects\VSCodeProjects\DiscordBots\ETsDiscordBot\env\Lib\site-packages\disnake\ext\commands\slash_core.py", line 741, in invoke
- raise CommandInvokeError(exc) from exc
- disnake.ext.commands.errors.CommandInvokeError: Command raised an exception: OSError: [Errno 22] Invalid argument
Advertisement
Add Comment
Please, Sign In to add comment