Skip to content

Commit

Permalink
Deployed ba3bbee with MkDocs version: 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 14, 2023
1 parent 95e360d commit 3c02d60
Show file tree
Hide file tree
Showing 20 changed files with 1,299 additions and 78 deletions.
18 changes: 17 additions & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


<link rel="icon" href="/assets/images/favicon.ico">
<meta name="generator" content="mkdocs-1.4.0, mkdocs-material-7.3.6">
<meta name="generator" content="mkdocs-1.4.2, mkdocs-material-7.3.6">



Expand Down Expand Up @@ -298,6 +298,8 @@








Expand Down Expand Up @@ -426,6 +428,20 @@








<li class="md-nav__item">
<a href="/running-as-a-service/" class="md-nav__link">
Running as a service
</a>
</li>




</ul>
</nav>
</li>
Expand Down
18 changes: 17 additions & 1 deletion adding-your-bot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="canonical" href="https://jmusicbot.com/adding-your-bot/">

<link rel="icon" href="../assets/images/favicon.ico">
<meta name="generator" content="mkdocs-1.4.0, mkdocs-material-7.3.6">
<meta name="generator" content="mkdocs-1.4.2, mkdocs-material-7.3.6">



Expand Down Expand Up @@ -311,6 +311,8 @@








Expand Down Expand Up @@ -477,6 +479,20 @@








<li class="md-nav__item">
<a href="../running-as-a-service/" class="md-nav__link">
Running as a service
</a>
</li>




</ul>
</nav>
</li>
Expand Down
24 changes: 20 additions & 4 deletions advanced-config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="canonical" href="https://jmusicbot.com/advanced-config/">

<link rel="icon" href="../assets/images/favicon.ico">
<meta name="generator" content="mkdocs-1.4.0, mkdocs-material-7.3.6">
<meta name="generator" content="mkdocs-1.4.2, mkdocs-material-7.3.6">



Expand Down Expand Up @@ -311,6 +311,8 @@








Expand Down Expand Up @@ -511,6 +513,20 @@








<li class="md-nav__item">
<a href="../running-as-a-service/" class="md-nav__link">
Running as a service
</a>
</li>




</ul>
</nav>
</li>
Expand Down Expand Up @@ -738,18 +754,18 @@ <h1>Advanced Config Options</h1>

<h2 id="specify-a-different-config-file">Specify a different config file<a class="headerlink" href="#specify-a-different-config-file" title="Permanent link">#</a></h2>
<p>Setting a different file to use as the config file is possible via the <code>-Dconfig=/path/to/config.file</code> command-line option. For example:
<div class="highlight"><pre><span></span><code>java -Dconfig<span class="o">=</span>alternate_config.txt -jar JMusicBot.jar
<div class="highlight"><pre><span></span><code>java<span class="w"> </span>-Dconfig<span class="o">=</span>alternate_config.txt<span class="w"> </span>-jar<span class="w"> </span>JMusicBot.jar
</code></pre></div>
will run the bot, loading from <code>alternate_config.txt</code> instead of <code>config.txt</code>.</p>
<h2 id="specify-config-options-from-the-command-line">Specify config options from the command line<a class="headerlink" href="#specify-config-options-from-the-command-line" title="Permanent link">#</a></h2>
<p>Similar to the <code>-Dconfig</code> option, any setting in the config file can also be set from the command line. For example, to set the prefix from the command line (instead of from the config), you would use <code>-Dprefix="!!"</code> (values need to be quoted if they contain spaces or some special characters). For example:
<div class="highlight"><pre><span></span><code>java -Dprefix<span class="o">=</span><span class="s2">&quot;!&quot;</span> -jar JMusicBot.jar
<div class="highlight"><pre><span></span><code>java<span class="w"> </span>-Dprefix<span class="o">=</span><span class="s2">&quot;!&quot;</span><span class="w"> </span>-jar<span class="w"> </span>JMusicBot.jar
</code></pre></div></p>
<h2 id="specify-config-options-from-environment-variables">Specify config options from environment variables<a class="headerlink" href="#specify-config-options-from-environment-variables" title="Permanent link">#</a></h2>
<p>To use environment variables for the config, there are two options. For the following examples, assume that a prefix has been set to the environment variable <code>CUSTOM_PREFIX</code>.</p>
<h3 id="from-the-command-line">From the command line<a class="headerlink" href="#from-the-command-line" title="Permanent link">#</a></h3>
<p>To use environment variables from the command line, use the same system from above, but substitute in a resolved variable name. For example:
<div class="highlight"><pre><span></span><code>java -Dprefix<span class="o">=</span><span class="s2">&quot;</span><span class="nv">$CUSTOM_PREFIX</span><span class="s2">&quot;</span> -jar JMusicBot.jar
<div class="highlight"><pre><span></span><code>java<span class="w"> </span>-Dprefix<span class="o">=</span><span class="s2">&quot;</span><span class="nv">$CUSTOM_PREFIX</span><span class="s2">&quot;</span><span class="w"> </span>-jar<span class="w"> </span>JMusicBot.jar
</code></pre></div></p>
<h3 id="in-the-config-file">In the config file<a class="headerlink" href="#in-the-config-file" title="Permanent link">#</a></h3>
<p>To use an environment in the config file, specify it as follows
Expand Down
22 changes: 19 additions & 3 deletions advanced-eval/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="canonical" href="https://jmusicbot.com/advanced-eval/">

<link rel="icon" href="../assets/images/favicon.ico">
<meta name="generator" content="mkdocs-1.4.0, mkdocs-material-7.3.6">
<meta name="generator" content="mkdocs-1.4.2, mkdocs-material-7.3.6">



Expand Down Expand Up @@ -309,6 +309,8 @@








Expand Down Expand Up @@ -437,6 +439,20 @@








<li class="md-nav__item">
<a href="../running-as-a-service/" class="md-nav__link">
Running as a service
</a>
</li>




</ul>
</nav>
</li>
Expand Down Expand Up @@ -688,10 +704,10 @@ <h1>Advanced Eval Scripts</h1>
</div>
<p>The following are examples of scripts that can be run via the eval command (bot owner only). If your bot's prefix is set to <code>!!</code> and you've enabled the eval command, an eval (such as the first one listed below) is run like <code>!!eval jda.guilds</code></p>
<h3 id="list-all-servers-that-the-bot-is-on">List all servers that the bot is on<a class="headerlink" href="#list-all-servers-that-the-bot-is-on" title="Permanent link">#</a></h3>
<div class="highlight"><pre><span></span><code><span class="nx">jda</span><span class="p">.</span><span class="nx">guilds</span><span class="w"></span>
<div class="highlight"><pre><span></span><code><span class="nx">jda</span><span class="p">.</span><span class="nx">guilds</span>
</code></pre></div>
<h3 id="leave-a-specific-server">Leave a specific server<a class="headerlink" href="#leave-a-specific-server" title="Permanent link">#</a></h3>
<div class="highlight"><pre><span></span><code><span class="nx">jda</span><span class="p">.</span><span class="nx">getGuildById</span><span class="p">(</span><span class="s2">&quot;GUILDIDHERE&quot;</span><span class="p">).</span><span class="nx">leave</span><span class="p">().</span><span class="nx">queue</span><span class="p">()</span><span class="w"></span>
<div class="highlight"><pre><span></span><code><span class="nx">jda</span><span class="p">.</span><span class="nx">getGuildById</span><span class="p">(</span><span class="s2">&quot;GUILDIDHERE&quot;</span><span class="p">).</span><span class="nx">leave</span><span class="p">().</span><span class="nx">queue</span><span class="p">()</span>
</code></pre></div>


Expand Down
18 changes: 17 additions & 1 deletion advanced-playlists/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="canonical" href="https://jmusicbot.com/advanced-playlists/">

<link rel="icon" href="../assets/images/favicon.ico">
<meta name="generator" content="mkdocs-1.4.0, mkdocs-material-7.3.6">
<meta name="generator" content="mkdocs-1.4.2, mkdocs-material-7.3.6">



Expand Down Expand Up @@ -309,6 +309,8 @@








Expand Down Expand Up @@ -437,6 +439,20 @@








<li class="md-nav__item">
<a href="../running-as-a-service/" class="md-nav__link">
Running as a service
</a>
</li>




</ul>
</nav>
</li>
Expand Down
22 changes: 19 additions & 3 deletions commands/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="canonical" href="https://jmusicbot.com/commands/">

<link rel="icon" href="../assets/images/favicon.ico">
<meta name="generator" content="mkdocs-1.4.0, mkdocs-material-7.3.6">
<meta name="generator" content="mkdocs-1.4.2, mkdocs-material-7.3.6">



Expand Down Expand Up @@ -309,6 +309,8 @@








Expand Down Expand Up @@ -437,6 +439,20 @@








<li class="md-nav__item">
<a href="../running-as-a-service/" class="md-nav__link">
Running as a service
</a>
</li>




</ul>
</nav>
</li>
Expand Down Expand Up @@ -1577,7 +1593,7 @@ <h3 id="shutdown"><code>shutdown</code><a class="headerlink" href="#shutdown" ti
<nav class="md-footer__inner md-grid" aria-label="Footer">


<a href="../hosting/" class="md-footer__link md-footer__link--prev" aria-label="Previous: Hosting" rel="prev">
<a href="../running-as-a-service/" class="md-footer__link md-footer__link--prev" aria-label="Previous: Running as a service" rel="prev">
<div class="md-footer__button md-icon">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
</div>
Expand All @@ -1586,7 +1602,7 @@ <h3 id="shutdown"><code>shutdown</code><a class="headerlink" href="#shutdown" ti
<span class="md-footer__direction">
Previous
</span>
Hosting
Running as a service
</div>
</div>
</a>
Expand Down
18 changes: 17 additions & 1 deletion config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="canonical" href="https://jmusicbot.com/config/">

<link rel="icon" href="../assets/images/favicon.ico">
<meta name="generator" content="mkdocs-1.4.0, mkdocs-material-7.3.6">
<meta name="generator" content="mkdocs-1.4.2, mkdocs-material-7.3.6">



Expand Down Expand Up @@ -306,6 +306,8 @@








Expand Down Expand Up @@ -442,6 +444,20 @@








<li class="md-nav__item">
<a href="../running-as-a-service/" class="md-nav__link">
Running as a service
</a>
</li>




</ul>
</nav>
</li>
Expand Down
18 changes: 17 additions & 1 deletion finding-your-user-id/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="canonical" href="https://jmusicbot.com/finding-your-user-id/">

<link rel="icon" href="../assets/images/favicon.ico">
<meta name="generator" content="mkdocs-1.4.0, mkdocs-material-7.3.6">
<meta name="generator" content="mkdocs-1.4.2, mkdocs-material-7.3.6">



Expand Down Expand Up @@ -311,6 +311,8 @@








Expand Down Expand Up @@ -484,6 +486,20 @@








<li class="md-nav__item">
<a href="../running-as-a-service/" class="md-nav__link">
Running as a service
</a>
</li>




</ul>
</nav>
</li>
Expand Down
Loading

0 comments on commit 3c02d60

Please sign in to comment.