Skip to content

Commit 800a440

Browse files
committed
Update error message
1 parent 33832dd commit 800a440

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/configure-guild.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,11 @@ async def run_bot(bot: Bot, token: str) -> None:
10961096
except discord.LoginFailure:
10971097
report_error("Invalid Discord bot token")
10981098
except discord.PrivilegedIntentsRequired:
1099-
report_error("Insufficient privileges. Required events: 'GUILD_MEMBERS'")
1099+
report_error(
1100+
"Insufficient privileges! "
1101+
"Make sure the bot is allowed to receive 'GUILD_MEMBERS' events, "
1102+
"and that its role is directly below the 'Admin' role."
1103+
)
11001104

11011105

11021106
def configure_logging(*, verbose: bool = False, debug: bool = False) -> None:

0 commit comments

Comments
 (0)