From 871c8fc22fb07c5707495d07395503e8e6f474a6 Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Fri, 1 Sep 2017 04:45:35 +0000 Subject: [PATCH] New .com domain! --- README.md | 2 +- discordbot/titanembeds/bot.py | 2 +- webapp/titanembeds/templates/about.html.j2 | 2 +- webapp/titanembeds/templates/card_queryparams.html.j2 | 2 +- webapp/titanembeds/templates/usercss.html.j2 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d34edbf..bcf10f5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Titan -**Visit our website! [https://titanembeds.tk/](https://titanembeds.tk/) And get started *right away*!** +**Visit our website! [https://titanembeds.com/](https://titanembeds.com/) And get started *right away*!** There was a time when Discord doesn't support embedding the chat on a webpage. But with Titan, you can! It is as simple as 1, 2, 3! 1. Invite the bot to your server (You must have "Manage Server" permissions) diff --git a/discordbot/titanembeds/bot.py b/discordbot/titanembeds/bot.py index 21ac976..7b658af 100644 --- a/discordbot/titanembeds/bot.py +++ b/discordbot/titanembeds/bot.py @@ -80,7 +80,7 @@ class Titan(discord.Client): print('------') await self.change_presence( - game=discord.Game(name="Embed your Discord server! Visit https://TitanEmbeds.tk/"), status=discord.Status.online + game=discord.Game(name="Embed your Discord server! Visit https://TitanEmbeds.com/"), status=discord.Status.online ) try: diff --git a/webapp/titanembeds/templates/about.html.j2 b/webapp/titanembeds/templates/about.html.j2 index 694979f..84b15f0 100644 --- a/webapp/titanembeds/templates/about.html.j2 +++ b/webapp/titanembeds/templates/about.html.j2 @@ -46,7 +46,7 @@ etc.

Chat with us!

- +

Cool People

diff --git a/webapp/titanembeds/templates/card_queryparams.html.j2 b/webapp/titanembeds/templates/card_queryparams.html.j2 index 95c7aec..46e8d43 100644 --- a/webapp/titanembeds/templates/card_queryparams.html.j2 +++ b/webapp/titanembeds/templates/card_queryparams.html.j2 @@ -5,7 +5,7 @@

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&theme=DiscordDark

+

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.com/embed/1234567890?css=1&theme=DiscordDark&theme=DiscordDark

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

  • diff --git a/webapp/titanembeds/templates/usercss.html.j2 b/webapp/titanembeds/templates/usercss.html.j2 index 625abed..a59dc78 100644 --- a/webapp/titanembeds/templates/usercss.html.j2 +++ b/webapp/titanembeds/templates/usercss.html.j2 @@ -18,7 +18,7 @@ will have CSS cosmetic privilages removed, if caught. Please don't, we check the

    This user defined CSS has a unique ID of {{ css.id }}.

    To use this CSS in the embed, you must apped a ?css={{ css.id }} to the embed URL.

    Something like this will work:

    - +