mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-12 17:11:20 +01:00
Move forcepeak check for short circut
This commit is contained in:
parent
1b1ee06fb3
commit
1e9d443756
@ -98,7 +98,7 @@ def guild_embed(guild_id):
|
||||
same_target=request.args.get("sametarget", False) == "true",
|
||||
userscalable=request.args.get("userscalable", "True").lower().startswith("t"),
|
||||
fixed_sidenav=request.args.get("fixedsidenav", "False").lower().startswith("t"),
|
||||
is_peak=is_peak(guild_id) or request.args.get("forcepeak", False) == "1"
|
||||
is_peak=request.args.get("forcepeak", False) == "1" or is_peak(guild_id)
|
||||
)
|
||||
abort(404)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user