File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -494,6 +494,6 @@ def generate_uri(
494494 "disable_guild_select" : disable_guild_select ,
495495 "permissions" : permissions ,
496496 }
497- if "application .commands" in scope :
497+ if "applications .commands" in scope :
498498 params ["integration_type" ] = 0 if integration_type == "guild" else 1
499499 return f"https://discord.com/oauth2/authorize?{ parse .urlencode ({key : value for key , value in params .items () if value is not None })} "
Original file line number Diff line number Diff line change @@ -465,6 +465,6 @@ def generate_uri(
465465 "disable_guild_select" : disable_guild_select ,
466466 "permissions" : permissions ,
467467 }
468- if "application .commands" in scope :
468+ if "applications .commands" in scope :
469469 params ["integration_type" ] = 0 if integration_type == "guild" else 1
470470 return f"https://discord.com/oauth2/authorize?{ parse .urlencode ({key : value for key , value in params .items () if value is not None })} "
You can’t perform that action at this time.
0 commit comments