diff --git a/Bot/Bot.fs b/Bot/Bot.fs index 2936cbf..9cb8bfc 100644 --- a/Bot/Bot.fs +++ b/Bot/Bot.fs @@ -91,7 +91,7 @@ GuildEnvironment.botUserArmory <- Some storeBot.CurrentUser //stealBot.ConnectAsync() |> Async.AwaitTask |> Async.RunSynchronously -//inviterBot.ConnectAsync() |> Async.AwaitTask |> Async.RunSynchronously +inviterBot.ConnectAsync() |> Async.AwaitTask |> Async.RunSynchronously let rec loop areBotsRunning = diff --git a/Bot/GuildEnvironment.fs b/Bot/GuildEnvironment.fs index c6047d5..7efd0fa 100644 --- a/Bot/GuildEnvironment.fs +++ b/Bot/GuildEnvironment.fs @@ -4,8 +4,9 @@ module Degenz.GuildEnvironment open System open DSharpPlus.Entities open dotenv.net -//DotEnv.Load(DotEnvOptions(envFilePaths = [ "../../../../.dev.env" ], overwriteExistingVars = false)) -DotEnv.Load(DotEnvOptions(envFilePaths = [ "../../../../.stag.env" ], overwriteExistingVars = false)) + +DotEnv.Load(DotEnvOptions(envFilePaths = [ "../../../../.dev.env" ], overwriteExistingVars = false)) +//DotEnv.Load(DotEnvOptions(envFilePaths = [ "../../../../.stag.env" ], overwriteExistingVars = false)) //DotEnv.Load(DotEnvOptions(envFilePaths = [ "../../../../.prod.env" ], overwriteExistingVars = false)) let getVar str = Environment.GetEnvironmentVariable(str) diff --git a/Bot/InviteTracker.fs b/Bot/InviteTracker.fs index c2cd05d..c723ade 100644 --- a/Bot/InviteTracker.fs +++ b/Bot/InviteTracker.fs @@ -120,7 +120,7 @@ let createGuildInvite (ctx : IDiscordContext) = DiscordInteractionResponseBuilder() .AddEmbed(embed) .AsEphemeral(true) - .WithContent($"https://discord.gg/{invite.Code}") +// .WithContent($"https://discord.gg/{invite.Code}") do! ctx.Respond(InteractionResponseType.ChannelMessageWithSource, msg) }