Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
evidently I messed up with the docs. Here is a fix.
  • Loading branch information
Mineinjava committed Feb 28, 2021
1 parent bee904c commit 5626cb2
Show file tree
Hide file tree
Showing 37 changed files with 4,179 additions and 201 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,4 @@ myBot.py

.idea

/create-command.py
3 changes: 3 additions & 0 deletions discordSplash/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ async def receive(self):
event_type = data["t"]
if event_type == "READY":
print('ready')
self.session_id = data['d']['session_id']
elif event_type == "INTERACTION_CREATE":
event_name = data['d']['data']['name']
try:
Expand Down Expand Up @@ -382,6 +383,8 @@ def opcode(self, opcode: int, payload) -> str:
"d": payload
}
return json.dumps(data)
async def resume(self):
pass


def command(name: str):
Expand Down
Binary file added docs/_build/doctrees/Todo.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/discordSplash.doctree
Binary file not shown.
Binary file added docs/_build/doctrees/environment.pickle
Binary file not shown.
Binary file added docs/_build/doctrees/examples/bots.doctree
Binary file not shown.
Binary file added docs/_build/doctrees/examples/commands.doctree
Binary file not shown.
Binary file added docs/_build/doctrees/examples/index.doctree
Binary file not shown.
Binary file modified docs/_build/doctrees/index.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/_build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: f970a60c74e3eefb65d32703d384527b
config: 94fb70b4c03d436da23c3c6ba484e7cb
tags: 645f666f9bcd5a90fca523b33c5a78b7
179 changes: 179 additions & 0 deletions docs/_build/html/FAQ.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
<!doctype html>
<html class="no-js">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="prev" title="To-Do List" href="Todo.html" />

<meta name="generator" content="sphinx-3.5.1, furo 2020.12.30.beta24"/>
<title>Frequently Asked Questions - discord-splash documentation</title>
<link rel="stylesheet" href="_static/styles/furo.css?digest=33d2fc4f3f180ec1ffc6524e273e21d7d58cbe49">
<link rel="stylesheet" href="_static/pygments.css">
<link media="(prefers-color-scheme: dark)" rel="stylesheet" href="_static/pygments_dark.css">



<style>
:root {
--color-code-background: #f8f8f8;
--color-code-foreground: black;

}
@media (prefers-color-scheme: dark) {
:root {
--color-code-background: #202020;
--color-code-foreground: #d0d0d0;

}
}

/* For allowing end-user-specific overrides */
.override-light {
--color-code-background: #f8f8f8;
--color-code-foreground: black;

}
.override-dark {
--color-code-background: #202020;
--color-code-foreground: #d0d0d0;

}
</style><link rel="stylesheet" href="_static/styles/furo-extensions.css?digest=26485485040e7aaf717c13fd0188a5ad2c2deb60">
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script defer="defer" src="_static/jquery.js"></script>
<script defer="defer" src="_static/underscore.js"></script>
<script defer="defer" src="_static/doctools.js"></script>
<script defer src="_static/scripts/main.js?digest=e931d09b2a40c1bb82b542effe772014573baf67"></script></head>
<body dir="">

<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="svg-toc" viewBox="0 0 24 24">
<title>Contents</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke-width="1.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z"/>
<line x1="4" y1="6" x2="20" y2="6" />
<line x1="10" y1="12" x2="20" y2="12" />
<line x1="6" y1="18" x2="20" y2="18" />
</svg>
</symbol>
<symbol id="svg-menu" viewBox="0 0 24 24">
<title>Menu</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-menu">
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="6" x2="21" y2="6"></line>
<line x1="3" y1="18" x2="21" y2="18"></line>
</svg>
</symbol>
<symbol id="svg-arrow-right" viewBox="0 0 24 24">
<title>Expand</title>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-chevron-right">
<polyline points="9 18 15 12 9 6"></polyline>
</svg>
</symbol>
</svg>

<input type="checkbox" class="sidebar-toggle" name="__navigation" id="__navigation">
<input type="checkbox" class="sidebar-toggle" name="__toc" id="__toc">
<label class="overlay sidebar-overlay" for="__navigation"></label>
<label class="overlay toc-overlay" for="__toc"></label>



<div class="page">
<header class="mobile-header">
<div class="header-left">
<label class="nav-overlay-icon" for="__navigation">
<i class="icon"><svg><use href="#svg-menu"></use></svg></i>
</label>
</div>
<div class="header-center">
<a href="index.html"><div class="brand">discord-splash documentation</div></a>
</div>
<div class="header-right">
<label class="toc-overlay-icon toc-header-icon no-toc" for="__toc">
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
</label>
</div>
</header>
<aside class="sidebar-drawer">
<div class="sidebar-container">

<div class="sidebar-sticky"><a class="sidebar-brand" href="index.html">


<span class="sidebar-brand-text">discord-splash documentation</span>

</a><form class="sidebar-search-container" method="get" action="search.html">
<input class="sidebar-search" placeholder=Search name="q">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
</form><div class="sidebar-scroll"><div class="sidebar-tree">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="discordSplash.html">discordSplash package</a></li>
<li class="toctree-l1"><a class="reference internal" href="Todo.html">To-Do List</a></li>
<li class="toctree-l1 current current-page"><a class="current reference internal" href="#">Frequently Asked Questions</a></li>
</ul>

</div>
</div>
</div>

</div>
</aside>
<main class="main">
<div class="content">
<article role="main">
<label class="toc-overlay-icon toc-content-icon no-toc" for="__toc">
<i class="icon"><svg><use href="#svg-toc"></use></svg></i>
</label>
<div class="section" id="frequently-asked-questions">
<h1>Frequently Asked Questions<a class="headerlink" href="#frequently-asked-questions" title="Permalink to this headline"></a></h1>
<p>Nobody has asked any questions yet, :( but once they do the questions should show up here.</p>
</div>

</article>
<footer>

<div class="related-pages">

<a class="prev-page" href="Todo.html">
<svg><use href="#svg-arrow-right"></use></svg>
<div class="page-info">
<div class="context">
<span>Previous</span>
</div>

<div class="title">To-Do List</div>

</div>
</a>
</div>

<div class="related-information">
Copyright &#169; 2021, mineinjava
|
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a>
and
<a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'s
<a href="https://github.com/pradyunsg/furo">Furo theme</a>.
|
<a class="muted-link" href="_sources/FAQ.rst.txt"
rel="nofollow">
Show Source
</a>
</div>

</footer>
</div>
<aside class="toc-drawer no-toc">



</aside>
</main>
</div>
</body>
</html>
Loading

0 comments on commit 5626cb2

Please sign in to comment.