prefix into env
This commit is contained in:
@@ -2,14 +2,13 @@ using Valour.Sdk.Client;
|
|||||||
using Valour.Sdk.Models;
|
using Valour.Sdk.Models;
|
||||||
using DotNetEnv;
|
using DotNetEnv;
|
||||||
using SkyBot;
|
using SkyBot;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
Env.Load();
|
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 = "sd/";
|
var prefix = Environment.GetEnvironmentVariable("PREFIX");
|
||||||
|
|
||||||
var client = new ValourClient("https://api.valour.gg/");
|
var client = new ValourClient("https://api.valour.gg/");
|
||||||
client.SetupHttpClient();
|
client.SetupHttpClient();
|
||||||
|
|||||||
Reference in New Issue
Block a user