Add forcepeak parameter

This commit is contained in:
Jeremy Zhang 2020-11-25 16:51:15 -08:00
parent 15e030208b
commit 1b1ee06fb3

View File

@ -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)
is_peak=is_peak(guild_id) or request.args.get("forcepeak", False) == "1"
)
abort(404)