Skip to content

Conversation

@yamikaitou
Copy link
Contributor

Description of the changes

Resolves the following traceback

Oct 12 02:40:54 bot python[64760]: [2025-10-12 02:40:54] [ERROR] discord.ui.modal: Ignoring exception in modal <SetApiModal timeout=None children=2>:
Oct 12 02:40:54 bot python[64760]: Traceback (most recent call last):
Oct 12 02:40:54 bot python[64760]:   File "/home/itazura/redenv/lib/python3.11/site-packages/discord/ui/modal.py", line 193, in _scheduled_task
Oct 12 02:40:54 bot python[64760]:     await self.on_submit(interaction)
Oct 12 02:40:54 bot python[64760]:   File "/home/itazura/redenv/lib/python3.11/site-packages/redbot/core/utils/views.py", line 445, in on_submit
Oct 12 02:40:54 bot python[64760]:     tokens = " ".join(self.token_input.value.split("\n")).rstrip()
Oct 12 02:40:54 bot python[64760]:                       ^^^^^^^^^^^^^^^^^^^^^^
Oct 12 02:40:54 bot python[64760]: AttributeError: 'Label' object has no attribute 'value'

Have the changes in this PR been tested?

Yes

@github-actions github-actions bot added the Category: Core - API - Utils Package This is related to stuff in `redbot.core.utils` label Oct 12, 2025
@Kowlin Kowlin merged commit dd3b9a0 into Cog-Creators:V3/develop Oct 12, 2025
17 checks passed
@red-githubbot red-githubbot bot added the Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet. label Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Core - API - Utils Package This is related to stuff in `redbot.core.utils` Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants