Skip to content

Commit

Permalink
reference: migrate reference (#28)
Browse files Browse the repository at this point in the history
* reference: migrate reference

Signed-off-by: SoggySaussages <[email protected]>

* reference: add short descriptions

Signed-off-by: SoggySaussages <[email protected]>

* reference/templates: fix hotlinks

Signed-off-by: SoggySaussages <[email protected]>

* reference/templates: fix hotlinks and most HTML

Signed-off-by: SoggySaussages <[email protected]>

---------

Signed-off-by: SoggySaussages <[email protected]>
Signed-off-by: Luca Zeuch <[email protected]>
  • Loading branch information
SoggySaussages authored Jun 8, 2024
1 parent 0ab0c09 commit 049a8c3
Show file tree
Hide file tree
Showing 39 changed files with 2,257 additions and 9 deletions.
18 changes: 9 additions & 9 deletions content/moderation/moderation-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,19 +289,19 @@ Example:
{{/* Number of warnings at which action is to be taken (eg: for action to take place at 4 warnings set threshold to 4) */}}
{{ $threshold := 4 }}
{{ define "punish_check" }}
{{ $threshold := toInt .TemplateArgs }}
{{ $warnCount := len (getWarnings .User) }}
{{if ge $warns_count $count}}
{{/* Add required code for action to be taken when warning count exceeds the threshold. */}}
Add code here
{{/* Reset warnings for the user. Delete if you do not wish to reset the warnings. */}}
{{ $silent := execAdmin "clearwarnings" .User }}
{{ end }}
{{ $threshold := toInt .TemplateArgs }}
{{ $warnCount := len (getWarnings .User) }}
{{if ge $warns_count $count}}
{{/* Add required code for action to be taken when warning count exceeds the threshold. */}}
Add code here
{{/* Reset warnings for the user. Delete if you do not wish to reset the warnings. */}}
{{ $silent := execAdmin "clearwarnings" .User }}
{{ end }}
{{ end }}
{{ if .Channel }}
{{ $s := sendTemplate .Channel.ID "punish_check" $count }}
{{ else }}
{{/* no context channel; use an arbitrary one */}}
{{/* no context channel; use an arbitrary one */}}
{{ $s := sendTemplate (index .Guild.Channels 0).ID "punish_check" $count }}
{{ end }}
```
Expand Down
Binary file added content/reference/100.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions content/reference/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
+++
archetype = "chapter"
title = "Reference"
weight = 8
+++

Reference documentation provides further information about advanced customization with YAGPDB, particularly focused
around coding with the custom scripting language.

{{%children containerstyle="div" style="h2" description="true" %}}
Binary file added content/reference/ablobaww1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions content/reference/animated_emotes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
+++
title = 'Animated Emotes'
weight = 6
+++

A guide on use of animated emojis in various contexts across YAGPDB, and a library of a few available animated emojis on the public instance.

<!--more-->

To use the emotes as reaction in the trigger message: `{{ addReactions "name:id" "..." "..." }}` \
To use the emotes as reaction in the response message, replace `addReactions` with `addResponseReactions`\
To use the emotes as text-form entry inside a custom command: \<a:name:id>

|**Name**| <p><strong>addReactions</strong></p><p><strong>Text</strong></p>| **Image**|
|-| -| -|
|whoop| <p>whoop:448566329922813953</p><p>&#x3C;a:whoop:448566329922813953></p>| ![whoop](https://cdn.discordapp.com/emojis/448566329922813953.gif?v=1)|
|​whoop2| <p>whoop2:448846256312156173</p><p>&#x3C;a:whoop2:448846256312156173></p>| ![​whoop2](https://cdn.discordapp.com/emojis/448846256312156173.gif?v=1)|
|whoop3| <p>whoop3:448846255976742944</p><p>&#x3C;a:whoop3:448846255976742944></p>| ![whoop3](https://cdn.discordapp.com/emojis/448846255976742944.gif?v=1)|
|whoop4| <p>whoop4:448846256500899841</p><p>&#x3C;a:whoop4:448846256500899841></p>| ![whoop4](https://cdn.discordapp.com/emojis/448846256500899841.gif?v=1)|
|whoop5| <p>whoop5:448846256450830336</p><p>&#x3C;a:whoop5:448846256450830336></p>| ![whoop5](https://cdn.discordapp.com/emojis/448846256450830336.gif?v=1)|
|whoop6| <p>whoop6:448846256295378945</p><p>&#x3C;a:whoop6:448846256295378945></p>| ![whoop6](https://cdn.discordapp.com/emojis/448846256295378945.gif?v=1)|
|whoop7| <p>whoop7:448846256437985282</p><p>&#x3C;a:whoop7:448846256437985282></p>| ![whoop7](https://cdn.discordapp.com/emojis/448846256437985282.gif?v=1)|
|whoop8| <p>whoop8:448846256589111296</p><p>&#x3C;a:whoop8:448846256589111296></p>| ![whoop8](https://cdn.discordapp.com/emojis/448846256589111296.gif?v=1)|
|ablobbouncing| <p>ablobbouncing:448846256018554891</p><p>&#x3C;a:ablobbouncing:448846256018554891></p>| ![ablobbouncing](https://cdn.discordapp.com/emojis/448846256018554891.gif?v=1)|
|cool\_whop| <p>cool_whoop:448846256366813214</p><p>&#x3C;a:cool_whoop:448846256366813214></p>| ![cool_whop](https://cdn.discordapp.com/emojis/448846256366813214.gif?v=1)|
|popcorn\_parrot| <p>popcorn_parrot:448846256026943493</p><p>&#x3C;a:popcorn_parrot:448846256026943493></p>| ![popcorn_parrot](https://cdn.discordapp.com/emojis/448846256026943493.gif?v=1)|
|owo| <p>owo:449200425854304257</p><p>&#x3C;a:owo:449200425854304257></p>| ![owo](https://cdn.discordapp.com/emojis/449200425854304257.gif?v=1)|
|partyJonas| <p>partyJonas:458241678449442817</p><p>&#x3C;a:partyJonas:458241678449442817></p>| ![partyJonas](https://cdn.discordapp.com/emojis/458241678449442817.gif?v=1)|
|BOI| <p> BOI:462941202518638603</p><p> &#x3C;a:BOI:462941202518638603></p>| ![BOI](https://cdn.discordapp.com/emojis/462941202518638603.gif?v=1)|
|ablobaww1| <p>ablobaww1:434490222655438849</p><p>&#x3C;a:ablobaww1:434490222655438849></p>| ![ablobaww1](ablobaww1.gif)|
|no\_u| <p>no_u:480787880021852191</p><p>&#x3C;a:no_u:480787880021852191></p>| ![no_u](no_u.gif)|
|youtried| <p> youtried:480811110275219456</p><p> &#x3C;a:youtried:480811110275219456></p>| ![youtried](youtried.gif)|
|THINKING| <p>THINKING:480811102729666614</p><p>&#x3C;a:THINKING:480811102729666614></p>| ![THINKING](THINKING.gif)|
|shakyshaky| <p>shakyshaky:480811093212528640</p><p>&#x3C;a:shakyshaky:480811093212528640></p>| ![shakyshaky](shakyshaky.gif)|
|REEEEEEEEEEEEEEEEEEEE| <p> REEEEEEEEEEEEEEEEEEEE:480811084349964300</p><p>&#x3C;a:REEEEEEEEEEEEEEEEEEEE:480811084349964300></p>| ![REEEEEEEEEEEEEEEEEEEE](REEEEEEEEEEEEEEEEEEEE.gif)|
|rageping| <p>rageping:480811071930761242</p><p>&#x3C;a:rageping:480811071930761242></p>| ![rageping](rageping.gif)|
|owowhatsthis| <p>owowhatsthis:480811064108384256</p><p>&#x3C;a:owowhatsthis:480811064108384256></p>| ![owowhatsthis](owowhatsthis.gif)|
|oOoO| <p>oOoO:480811052775374858</p><p>&#x3C;a:oOoO:480811052775374858></p>| ![oOoO](oOoO.gif)|
|oofoof| <p>oofoof:480811044424515625</p><p>&#x3C;a:oofoof:480811044424515625></p>| ![oofoof](oofoof.gif)|
|okSpin| <p>okSpin:480811036547612692</p><p>&#x3C;a:okSpin:480811036547612692></p>| ![okSpin](okSpin.gif)|
|movingeyes| <p>movingeyes:480811027097976832</p><p>&#x3C;a:movingeyes:480811027097976832></p>| ![movingeyes](movingeyes.gif)|
|loading1| <p>loading1:480811012556193804</p><p>&#x3C;a:loading1:480811012556193804></p>| ![loading1](loading1.gif)|
|loading2| <p>loading2:480811019611144216</p><p>&#x3C;a:loading2:480811019611144216></p>| ![loading2](loading2.gif)|
|KMS| <p>KMS:480811001306939395</p><p>&#x3C;a:KMS:480811001306939395></p>| ![KMS](KMS.gif)|
|dealwithit| <p>dealwithit:480810992595369985</p><p>&#x3C;a:dealwithit:480810992595369985></p>| ![dealwithit](dealwithit.gif)|
|dancingwumpus| <p>dancingwumpus:480810984320008198</p><p>&#x3C;a:dancingwumpus:480810984320008198></p>| ![dancingwumpus](dancingwumpus.gif)|
|clapclap| <p>clapclap:480810974232707073</p><p>&#x3C;a:clapclap:480810974232707073></p>| ![clapclap](clapclap.gif)|
|blobwave| <p>blobwave:480810966939074560</p><p>&#x3C;a:blobwave:480810966939074560></p>| ![blobwave](blobwave.gif)|
|blobbounce| <p>blobbounce:480810958621769756</p><p>&#x3C;a:blobbounce:480810958621769756></p>| ![blobbounce](blobbounce.gif)|
|banhammer| <p>banhammer:480810952049295360</p><p>&#x3C;a:banhammer:480810952049295360></p>| ![banhammer](banhammer.gif)|
|100| <p>100:480810944616988673</p><p>&#x3C;a:100:480810944616988673></p>| ![100](100.gif)|
|load\_windows10| <p>load_windows10:705481616092430366</p><p>&#x3C;a:load_windows10:705481616092430366></p>| ![load_windows10](load_windows10.gif)|
|twitch\_turnover1| <p>twitch_turnover1:825786228623933491</p><p>&#x3C;a:twitch_turnover1:825786228623933491></p>| ![twitch_turnover1](twitch_turnover1.gif)|

If you want to contribute to this database, just ping **Michdi#1602** on the support server. YAGPDB needs to be on the server where you store the emojis.
Binary file added content/reference/banhammer.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/reference/blobbounce.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/reference/blobwave.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/reference/clapclap.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 049a8c3

Please sign in to comment.