yes.
This commit is contained in:
@@ -8,7 +8,7 @@ Env.Load();
|
|||||||
var token = Environment.GetEnvironmentVariable("TOKEN");
|
var token = Environment.GetEnvironmentVariable("TOKEN");
|
||||||
var allowedUserIds = new List<long> { 15652354820931584 };
|
var allowedUserIds = new List<long> { 15652354820931584 };
|
||||||
var ownerId = 15652354820931584;
|
var ownerId = 15652354820931584;
|
||||||
var prefix = Environment.GetEnvironmentVariable("PREFIX");
|
var prefix = Environment.GetEnvironmentVariable("DEVPREFIX");
|
||||||
|
|
||||||
var client = new ValourClient("https://api.valour.gg/");
|
var client = new ValourClient("https://api.valour.gg/");
|
||||||
client.SetupHttpClient();
|
client.SetupHttpClient();
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ provided <code>SkyBot.csproj</code> file.
|
|||||||
<p>Before running the bot, create a <code>.env</code> file in the root directory of the project with the following content:</p>
|
<p>Before running the bot, create a <code>.env</code> file in the root directory of the project with the following content:</p>
|
||||||
|
|
||||||
<pre><code>TOKEN=your-bot-token-here
|
<pre><code>TOKEN=your-bot-token-here
|
||||||
|
DEVPREFIX=your-prefix-here
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user