Print guild
This commit is contained in:
parent
ab2c81c77a
commit
b03d712479
@ -4,7 +4,8 @@ module Degenz.GuildEnvironment
|
||||
open System
|
||||
open DSharpPlus.Entities
|
||||
open dotenv.net
|
||||
|
||||
let g = Environment.GetEnvironmentVariable("DISCORD_GUILD")
|
||||
printfn $"{g}"
|
||||
DotEnv.Load(DotEnvOptions(envFilePaths = [ "../../../../env.dev" ], overwriteExistingVars = false))
|
||||
//DotEnv.Load(DotEnvOptions(envFilePaths = [ "../../../../env.stag" ], overwriteExistingVars = false))
|
||||
//DotEnv.Load(DotEnvOptions(envFilePaths = [ "../../../../env.prod" ], overwriteExistingVars = false))
|
||||
@ -13,6 +14,7 @@ let getVar str = Environment.GetEnvironmentVariable(str)
|
||||
let getId str = getVar str |> uint64
|
||||
|
||||
let guildId = getId "DISCORD_GUILD"
|
||||
printfn $"{guildId}"
|
||||
let tokenPlayerInteractions = getVar "TOKEN_PLAYER_INTERACTIONS"
|
||||
let tokenHackerBattle = getVar "TOKEN_HACKER_BATTLE"
|
||||
let tokenStore = getVar "TOKEN_STORE"
|
||||
|
Loading…
x
Reference in New Issue
Block a user