Skip to content

Commit 9cfa58d

Browse files
fix: the url uses guild_id to set the guild
1 parent a124972 commit 9cfa58d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

botstrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def create_webhook(self, name: str, channel_id_: int) -> str:
249249
client_id = discord_client.app_info.get("id")
250250
log.error(f"The bot is not a member of the configured guild with ID {GUILD_ID}.")
251251
log.warning(
252-
f"Please invite with the following URL and rerun this script: https://discord.com/oauth2/authorize?client_id={client_id}&guild={GUILD_ID}&scope=bot+applications.commands&permissions=8"
252+
f"Please invite with the following URL and rerun this script: https://discord.com/oauth2/authorize?client_id={client_id}&guild_id={GUILD_ID}&scope=bot+applications.commands&permissions=8"
253253
)
254254
sys.exit(42)
255255

0 commit comments

Comments
 (0)