From d2aa1f46cc868b5b17cd81471573fc088dac7726 Mon Sep 17 00:00:00 2001 From: Adam R Grey Date: Mon, 5 Jun 2023 15:45:08 -0400 Subject: [PATCH] debug statement cleanup --- DiscordInterface/DiscordInterface.cs | 3 --- DiscordInterface/SlashCommandsHelper.cs | 3 --- 2 files changed, 6 deletions(-) diff --git a/DiscordInterface/DiscordInterface.cs b/DiscordInterface/DiscordInterface.cs index ea62a0c..fb81581 100644 --- a/DiscordInterface/DiscordInterface.cs +++ b/DiscordInterface/DiscordInterface.cs @@ -99,7 +99,6 @@ public class DiscordInterface if (await thingmanagementdoer.Instance.ActOn(m)) { m.ActedOn = true; - Console.WriteLine("survived a savechanges: 103"); } } _db.SaveChanges(); @@ -121,7 +120,6 @@ public class DiscordInterface // seenIn.Add(defaultChannel); // u.SeenInChannels = seenIn; // _db.SaveChanges(); - Console.WriteLine("survived a savechanges: 123"); // } return thingmanagementdoer.Instance.OnJoin(u, defaultChannel); @@ -191,7 +189,6 @@ public class DiscordInterface } return a; } - internal Message UpsertMessage(IUserMessage dMessage) { var addPlease = false; diff --git a/DiscordInterface/SlashCommandsHelper.cs b/DiscordInterface/SlashCommandsHelper.cs index 7dfd77d..5b038db 100644 --- a/DiscordInterface/SlashCommandsHelper.cs +++ b/DiscordInterface/SlashCommandsHelper.cs @@ -47,7 +47,6 @@ namespace vassago.DiscordInterface { Console.WriteLine($"deleting command {existingCommand.Name} - (created at {existingCommand.CreatedAt}, it's in guild {existingCommand.Guild?.Id} while I'm in {guild?.Id})"); await existingCommand.DeleteAsync(); - Console.WriteLine("survived"); } else { @@ -56,7 +55,6 @@ namespace vassago.DiscordInterface { Console.WriteLine($"overwriting command {existingCommand.Name}"); await myVersion.register(false, client, guild); - Console.WriteLine($"survived"); } myVersion.alreadyRegistered = true; } @@ -65,7 +63,6 @@ namespace vassago.DiscordInterface { Console.WriteLine($"creating new command {remaining.Id} ({(remaining.guild == null ? "global" : $"for guild {remaining.guild}")})"); await remaining.register(true, client, guild); - Console.WriteLine($"survived"); } }