mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 14:37:02 +01:00
Add forcepeak parameter
This commit is contained in:
parent
15e030208b
commit
1b1ee06fb3
@ -98,7 +98,7 @@ def guild_embed(guild_id):
|
|||||||
same_target=request.args.get("sametarget", False) == "true",
|
same_target=request.args.get("sametarget", False) == "true",
|
||||||
userscalable=request.args.get("userscalable", "True").lower().startswith("t"),
|
userscalable=request.args.get("userscalable", "True").lower().startswith("t"),
|
||||||
fixed_sidenav=request.args.get("fixedsidenav", "False").lower().startswith("t"),
|
fixed_sidenav=request.args.get("fixedsidenav", "False").lower().startswith("t"),
|
||||||
is_peak=is_peak(guild_id)
|
is_peak=is_peak(guild_id) or request.args.get("forcepeak", False) == "1"
|
||||||
)
|
)
|
||||||
abort(404)
|
abort(404)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user