diff --git a/webapp/titanembeds/templates/about.html.j2 b/webapp/titanembeds/templates/about.html.j2 index baeaf0e..f34d2aa 100644 --- a/webapp/titanembeds/templates/about.html.j2 +++ b/webapp/titanembeds/templates/about.html.j2 @@ -40,24 +40,9 @@ used to replace Discord itself. (that's what the mobile apps are for!) It is used in conjunction for a quick and dirty Discord embed for websites. Some uses include forum shoutboxes, etc.

-

Commands

-
-
-
-
-
-

All commands start by mentioning the bot user, @Titan.

-

Guest User Moderation

-

All guest users are denoted by square brackets around their username in the Discord channel, when sending messages.

-
    -
  • ban <username-query>[#<discriminator>]
    Bans the user by the username. The username does not need to be the full string. The discriminator is optional.
    Eg: ban Titan#0001
  • -
  • kick <username-query>[#<discriminator>]
    Kicks the user by the username. The username does not need to be the full string. The discriminator is optional.
    Eg: kick Titan#0001
  • -
-
-
-
-
-
+{% include 'card_commands.html.j2' %} + +{% include 'card_queryparams.html.j2' %}

Chat with us!

diff --git a/webapp/titanembeds/templates/administrate_guild.html.j2 b/webapp/titanembeds/templates/administrate_guild.html.j2 index 547e35b..5e5e91c 100644 --- a/webapp/titanembeds/templates/administrate_guild.html.j2 +++ b/webapp/titanembeds/templates/administrate_guild.html.j2 @@ -173,6 +173,11 @@ {% endif %}
+

+{% include 'card_commands.html.j2' %} + +{% include 'card_queryparams.html.j2' %} + {% endblock %} {% block script %} diff --git a/webapp/titanembeds/templates/card_commands.html.j2 b/webapp/titanembeds/templates/card_commands.html.j2 new file mode 100644 index 0000000..30e4af9 --- /dev/null +++ b/webapp/titanembeds/templates/card_commands.html.j2 @@ -0,0 +1,18 @@ +

Commands

+
+
+
+
+
+

All commands start by mentioning the bot user, @Titan.

+

Guest User Moderation

+

All guest users are denoted by square brackets around their username in the Discord channel, when sending messages.

+
    +
  • ban <username-query>[#<discriminator>]
    Bans the user by the username. The username does not need to be the full string. The discriminator is optional.
    Eg: ban Titan#0001
  • +
  • kick <username-query>[#<discriminator>]
    Kicks the user by the username. The username does not need to be the full string. The discriminator is optional.
    Eg: kick Titan#0001
  • +
+
+
+
+
+
\ No newline at end of file diff --git a/webapp/titanembeds/templates/card_queryparams.html.j2 b/webapp/titanembeds/templates/card_queryparams.html.j2 new file mode 100644 index 0000000..d4e7bbd --- /dev/null +++ b/webapp/titanembeds/templates/card_queryparams.html.j2 @@ -0,0 +1,50 @@ +

Query Parameters

+
+
+
+
+
+

Use query parameters to customize your individual embeds out of this world!

+

Query parameters are in the format of key-value pairs. They are appended after your embed url such that it would look like so:
https://titanembeds.tk/embed/1234567890?css=1&theme=DiscordDark&forcefocus=1

+

Below is the reference of all the avaliable query parameters that may be used.

+
    +
  • + css=<integer>
    + Styles the embed's theme according to the unique custom CSS ID. Custom CSS may be managed from the user dashboard page.
    + Eg: css=1 +
  • +
  • + defaultchannel=<snowflake>
    + Instead of having your #general channel as the first channel your users see, you may change it. Enable Discord's Developer mode in the Appearances tab of the User Settings and copy the channel ID.
    + Eg: defaultchannel=1234567890 +
  • +
  • + forcefocus=<integer>
    + Embeds are activated once the frame is loaded. However, if you have more than one embeds on the page, the rate limits might bite your user's toes. Having this setting set means that the embed will not be loaded until the user mouseovers the frame.
    +
    + Avaliable Options: +
      +
    • 0 = disabled (default)
    • +
    • 1 = enabled
    • +
    +
    + Eg: forcefocus=1 +
  • +
  • + theme=<string>
    + Want your embed to use one of our premade themes? Look no further!
    +
    + Avaliable Options: +
      +
    • BetterTitan
    • +
    • DiscordDark
    • +
    +
    + Eg: theme=DiscordDark +
  • +
+
+
+
+
+
\ No newline at end of file