We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95e91e9 commit 77972a3Copy full SHA for 77972a3
1 file changed
tests/test_config.py
@@ -485,7 +485,8 @@ def test_missing_discord_bot_token(self) -> None:
485
def test_invalid_discord_bot_token(self, invalid_discord_bot_token: str) -> None:
486
"""Test that an error is raised when an invalid `DISCORD_BOT_TOKEN` is provided."""
487
INVALID_DISCORD_BOT_TOKEN_MESSAGE: Final[str] = (
488
- "DISCORD_BOT_TOKEN must be a valid Discord bot token" # noqa: S105
+ "DISCORD_BOT_TOKEN must be set to a valid Discord bot token " # noqa: S105
489
+ "(see https://discord.com/developers/docs/topics/oauth2#bot-vs-user-accounts)."
490
)
491
492
RuntimeSettings: Final[type[Settings]] = config._settings_class_factory()
0 commit comments