Launching TitanDocs

This commit is contained in:
Jeremy Zhang 2019-11-15 13:20:44 -08:00
parent b8b602713a
commit d51410d802
4 changed files with 17 additions and 4 deletions

View File

@ -108,7 +108,7 @@ class Commands():
await message.channel.send("This instance of Titan Embeds Discord Bot is running on shard **{}**. There are **{}** shards in total.".format(message.guild.shard_id, self.client.shard_count)) await message.channel.send("This instance of Titan Embeds Discord Bot is running on shard **{}**. There are **{}** shards in total.".format(message.guild.shard_id, self.client.shard_count))
async def help(self, message): async def help(self, message):
await message.channel.send("Commands available on: https://titanembeds.com/about\nTo setup an embed please visit: https://titanembeds.com/user/dashboard") await message.channel.send("Commands available on: https://docs.titanembeds.com/Commands/\nTo setup an embed please visit: https://titanembeds.com/user/dashboard")
async def members(self, message): async def members(self, message):
headers = {"Authorization": self.config["titan-web-app-secret"]} headers = {"Authorization": self.config["titan-web-app-secret"]}

View File

@ -2,6 +2,19 @@
{% set title="About Titan" %} {% set title="About Titan" %}
{% block content %} {% block content %}
<div class="row">
<div class="col s12">
<div class="card-panel pink darken-3">
<span class="white-text flow-text">
<a href="https://docs.titanembeds.com/" class="white-text" target="_blank">
This about page is no longer maintained! Check out our docs to see the most up-to-date information.
</a>
</span>
</div>
</div>
</div>
<p class="flow-text center-align">In the beginning, there was <strong>silence</strong>.</p> <p class="flow-text center-align">In the beginning, there was <strong>silence</strong>.</p>
<p class="center-align"> <p class="center-align">
<a class="white-text" href="https://www.reddit.com/r/discordapp/comments/3tucod/embedding_discord_via_iframe_disabled/" target="_blank">People</a> <a class="white-text" href="https://www.reddit.com/r/discordapp/comments/3tucod/embedding_discord_via_iframe_disabled/" target="_blank">People</a>

View File

@ -372,7 +372,7 @@
<h4 class="identity"><span class="username"></span><span class="hash">#</span><span class="discriminator"></span></h4> <span class="bottag">BOT</span> <h4 class="identity"><span class="username"></span><span class="hash">#</span><span class="discriminator"></span></h4> <span class="bottag">BOT</span>
<div class="badges"> <div class="badges">
<a class="administrator tooltipped" data-tooltip="{{ _("TitanEmbeds Administrator") }}" data-position="top" href="https://titanembeds.com/" target="_blank"><i class="material-icons">gavel</i></a> <a class="administrator tooltipped" data-tooltip="{{ _("TitanEmbeds Administrator") }}" data-position="top" href="https://titanembeds.com/" target="_blank"><i class="material-icons">gavel</i></a>
<a class="partner tooltipped" data-tooltip="{{ _("TitanEmbeds Partner") }}" data-position="top" href="https://titanembeds.com/about" target="_blank"><i class="material-icons">person_pin</i></a> <a class="partner tooltipped" data-tooltip="{{ _("TitanEmbeds Partner") }}" data-position="top" href="https://docs.titanembeds.com/" target="_blank"><i class="material-icons">person_pin</i></a>
<a class="supporter tooltipped" data-tooltip="{{ _("TitanEmbeds Supporter") }}" data-position="top" href="https://titanembeds.com/user/donate" target="_blank"><i class="material-icons">attach_money</i></a> <a class="supporter tooltipped" data-tooltip="{{ _("TitanEmbeds Supporter") }}" data-position="top" href="https://titanembeds.com/user/donate" target="_blank"><i class="material-icons">attach_money</i></a>
<a class="discordbotsorgvoted tooltipped" data-tooltip="{{ _("I have voted for Titan on Discord Bots today!") }}" data-position="top" href="https://titanembeds.com/vote" target="_blank"><i class="material-icons">check_box</i></a> <a class="discordbotsorgvoted tooltipped" data-tooltip="{{ _("I have voted for Titan on Discord Bots today!") }}" data-position="top" href="https://titanembeds.com/vote" target="_blank"><i class="material-icons">check_box</i></a>
</div> </div>

View File

@ -75,8 +75,8 @@
<div class="nav-wrapper container"> <div class="nav-wrapper container">
<a href="/" class="brand-logo"><img src="{{ url_for('static', filename='img/titanembeds_shield.png') }}" /><span class="hide-on-med-and-down"><strong class="align-top">Titan</strong><span class="align-top">Embeds</span> <span class="betatag align-top">BETA</span></span></a> <a href="/" class="brand-logo"><img src="{{ url_for('static', filename='img/titanembeds_shield.png') }}" /><span class="hide-on-med-and-down"><strong class="align-top">Titan</strong><span class="align-top">Embeds</span> <span class="betatag align-top">BETA</span></span></a>
<ul id="nav-mobile" class="right"> <ul id="nav-mobile" class="right">
<li><a href="{{url_for("about")}}" class="waves-effect hide-on-large-only">About</a></li> <li><a href="https://docs.titanembeds.com/" target="_blank" class="waves-effect hide-on-large-only">Docs</a></li>
<li><a href="{{url_for("about")}}" class="waves-effect btn z-depth-3 hide-on-med-and-down">About</a></li> <li><a href="https://docs.titanembeds.com/" target="_blank" class="waves-effect btn z-depth-3 hide-on-med-and-down">Docs</a></li>
<li><a data-activates="visitus_dropdown" class="waves-effect hide-on-large-only dropdown-button">Visit Us!</a></li> <li><a data-activates="visitus_dropdown" class="waves-effect hide-on-large-only dropdown-button">Visit Us!</a></li>
<li><a data-activates="visitus_dropdown" class="waves-effect btn z-depth-3 hide-on-med-and-down dropdown-button">Visit Us!</a></li> <li><a data-activates="visitus_dropdown" class="waves-effect btn z-depth-3 hide-on-med-and-down dropdown-button">Visit Us!</a></li>