Skip to content

Commit

Permalink
Add more configurable limits
Browse files Browse the repository at this point in the history
  • Loading branch information
SocksTheWolf committed Feb 3, 2025
1 parent 893b3dc commit ea4ba29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ contact_url: "https://socksthewolf.com/contact"
google_analytics: "G-3B15EPXBFZ"
show_downloads: false
use_zapier_report: true
max_per_evidence_size: 2
report_support_multiple_files: true
report_max_size_per_file: 3
report_max_files: 4
report_max_size: 10
bot_name: ScamGuard
discord_client_id: 1152057650226401320
discord_uses_intents: false
Expand Down
6 changes: 5 additions & 1 deletion docs/_includes/report_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@
{% else %}
<input type="file" id="evidence" name="evidence" accept="image/*" required />
{% endif %}
<small>Please submit screenshot evidence regarding the scammer's actions. Files have a max size of {{ site.max_per_evidence_size }}MB.</small>
<small>Please submit screenshot evidence regarding the scammer's actions.
{% if site.report_support_multiple_files == true %}
Max {{ site.report_max_files }} files of {{ site.report_max_size_per_file }}MB for a total of {{ site.report_max_size }}MB.
{% endif %}
</small>

<label for="reportername">What is your Discord Handle?</label>
<input type="text" name="reportername" id="reportername" />
Expand Down

0 comments on commit ea4ba29

Please sign in to comment.