From 542adbf9a73bff3e566f334cfaa80bf4d5fee050 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Wed, 30 Mar 2022 11:48:42 +0700 Subject: [PATCH] Adding mixpanel dep --- Bot/Bot.fs | 3 +++ Bot/paket.references | 1 + paket.dependencies | 5 +---- paket.lock | 36 ++++++++++++++++++------------------ 4 files changed, 23 insertions(+), 22 deletions(-) diff --git a/Bot/Bot.fs b/Bot/Bot.fs index b74a054..f1db188 100644 --- a/Bot/Bot.fs +++ b/Bot/Bot.fs @@ -6,10 +6,13 @@ open DSharpPlus open DSharpPlus.SlashCommands open Degenz open Emzi0767.Utilities +open Mixpanel //open Degenz.SlotMachine type EmptyGlobalCommandToAvoidFamousDuplicateSlashCommandsBug() = inherit ApplicationCommandModule () +let mix = MixpanelClient("SOMETOKEN") + let guild = GuildEnvironment.guildId let hackerBattleConfig = DiscordConfiguration() diff --git a/Bot/paket.references b/Bot/paket.references index 5e7d730..0fd3028 100644 --- a/Bot/paket.references +++ b/Bot/paket.references @@ -4,3 +4,4 @@ DSharpPlus.Interactivity DSharpPlus.SlashCommands dotenv.net Npgsql.FSharp +mixpanel-csharp diff --git a/paket.dependencies b/paket.dependencies index a27e2fe..d32431f 100644 --- a/paket.dependencies +++ b/paket.dependencies @@ -5,14 +5,11 @@ framework: net6.0, netstandard2.0, netstandard2.1 nuget FSharp.Core >= 6.0.0 -source https://nuget.emzi0767.com/api/v3/index.json - nuget DSharpPlus >= 4.2.0-nightly-01091 nuget DSharpPlus.Interactivity >= 4.2.0-nightly-01091 nuget DSharpPlus.SlashCommands >= 4.2.0-nightly-01091 nuget MongoDB.Driver - nuget dotenv.net 3.1.1 - nuget Npgsql.FSharp +nuget mixpanel-csharp 5.0.0 diff --git a/paket.lock b/paket.lock index af3309f..f7cc537 100644 --- a/paket.lock +++ b/paket.lock @@ -3,12 +3,12 @@ RESTRICTION: || (== net6.0) (== netstandard2.0) (== netstandard2.1) NUGET remote: https://api.nuget.org/v3/index.json ConcurrentHashSet (1.3) - DnsClient (1.5) + DnsClient (1.6) Microsoft.Win32.Registry (>= 5.0) System.Buffers (>= 4.5.1) - restriction: || (&& (== net6.0) (>= net471)) (&& (== net6.0) (< netstandard2.0)) (&& (== net6.0) (< netstandard2.1)) (== netstandard2.0) (&& (== netstandard2.1) (>= net471)) (&& (== netstandard2.1) (< netstandard2.0)) dotenv.net (3.1.1) System.Memory (>= 4.5.4) - restriction: || (&& (== net6.0) (< netstandard2.0)) (&& (== net6.0) (< netstandard2.1)) (== netstandard2.0) (&& (== netstandard2.1) (< netstandard2.0)) - DSharpPlus (4.2.0-nightly-01094) + DSharpPlus (4.2.0-nightly-01102) Emzi0767.Common (>= 2.6.2) Microsoft.Extensions.Logging.Abstractions (>= 5.0) Newtonsoft.Json (>= 13.0.1) @@ -18,15 +18,18 @@ NUGET System.Net.WebSockets.Client (>= 4.3.2) System.Runtime.InteropServices.RuntimeInformation (>= 4.3) System.Threading.Channels (>= 5.0) - DSharpPlus.Interactivity (4.2.0-nightly-01094) + DSharpPlus.Interactivity (4.2.0-nightly-01102) ConcurrentHashSet (>= 1.1) - DSharpPlus (>= 4.2.0-nightly-01094) + DSharpPlus (>= 4.2.0-nightly-01102) + DSharpPlus.SlashCommands (4.2.0-nightly-01102) + DSharpPlus (>= 4.2.0-nightly-01102) + Microsoft.Extensions.DependencyInjection (>= 5.0.1) Emzi0767.Common (2.6.2) System.Collections.Immutable (>= 5.0) System.Memory (>= 4.5.4) System.Runtime.CompilerServices.Unsafe (>= 5.0) System.ValueTuple (>= 4.5) - FSharp.Core (6.0.1) + FSharp.Core (6.0.3) Microsoft.Bcl.AsyncInterfaces (6.0) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp3.1)) (&& (== net6.0) (< netstandard2.1)) (== netstandard2.0) (== netstandard2.1) System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netstandard2.1)) (== netstandard2.0) (&& (== netstandard2.1) (>= net461)) Microsoft.Bcl.HashCode (1.1.1) - restriction: || (&& (== net6.0) (< netstandard2.1)) (== netstandard2.0) @@ -38,10 +41,10 @@ NUGET Microsoft.Extensions.DependencyInjection.Abstractions (6.0) Microsoft.Bcl.AsyncInterfaces (>= 6.0) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netstandard2.1)) (== netstandard2.0) (&& (== netstandard2.1) (>= net461)) System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netstandard2.1)) (== netstandard2.0) (&& (== netstandard2.1) (>= net461)) - Microsoft.Extensions.Logging.Abstractions (6.0) + Microsoft.Extensions.Logging.Abstractions (6.0.1) System.Buffers (>= 4.5.1) - restriction: || (&& (== net6.0) (>= net461)) (== netstandard2.0) (== netstandard2.1) System.Memory (>= 4.5.4) - restriction: || (&& (== net6.0) (>= net461)) (== netstandard2.0) (== netstandard2.1) - Microsoft.NETCore.Platforms (6.0.1) + Microsoft.NETCore.Platforms (6.0.2) Microsoft.NETCore.Targets (5.0) Microsoft.Win32.Primitives (4.3) Microsoft.NETCore.Platforms (>= 1.1) @@ -52,15 +55,16 @@ NUGET System.Memory (>= 4.5.4) - restriction: || (&& (== net6.0) (< netcoreapp2.0)) (&& (== net6.0) (< netcoreapp2.1)) (&& (== net6.0) (>= uap10.1)) (== netstandard2.0) (== netstandard2.1) System.Security.AccessControl (>= 5.0) System.Security.Principal.Windows (>= 5.0) - MongoDB.Bson (2.14.1) + mixpanel-csharp (5.0) + MongoDB.Bson (2.15) System.Runtime.CompilerServices.Unsafe (>= 5.0) - MongoDB.Driver (2.14.1) - MongoDB.Bson (>= 2.14.1) - MongoDB.Driver.Core (>= 2.14.1) + MongoDB.Driver (2.15) + MongoDB.Bson (>= 2.15) + MongoDB.Driver.Core (>= 2.15) MongoDB.Libmongocrypt (>= 1.3) - MongoDB.Driver.Core (2.14.1) - DnsClient (>= 1.4) - MongoDB.Bson (>= 2.14.1) + MongoDB.Driver.Core (2.15) + DnsClient (>= 1.6) + MongoDB.Bson (>= 2.15) MongoDB.Libmongocrypt (>= 1.3) SharpCompress (>= 0.30.1) System.Buffers (>= 4.5.1) @@ -514,7 +518,3 @@ NUGET Microsoft.NETCore.Targets (>= 1.1) System.Runtime (>= 4.3) System.ValueTuple (4.5) - remote: https://nuget.emzi0767.com/api/v3/index.json - DSharpPlus.SlashCommands (4.2.0-nightly-01091) - DSharpPlus (>= 4.2.0-nightly-01091) - Microsoft.Extensions.DependencyInjection (>= 5.0.1)