Skip to content

Commit 77972a3

Browse files
fix wrong error message
1 parent 95e91e9 commit 77972a3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,8 @@ def test_missing_discord_bot_token(self) -> None:
485485
def test_invalid_discord_bot_token(self, invalid_discord_bot_token: str) -> None:
486486
"""Test that an error is raised when an invalid `DISCORD_BOT_TOKEN` is provided."""
487487
INVALID_DISCORD_BOT_TOKEN_MESSAGE: Final[str] = (
488-
"DISCORD_BOT_TOKEN must be a valid Discord bot token" # noqa: S105
488+
"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)."
489490
)
490491

491492
RuntimeSettings: Final[type[Settings]] = config._settings_class_factory()

0 commit comments

Comments
 (0)