debug statement cleanup

This commit is contained in:
Adam R Grey 2023-06-05 15:45:08 -04:00
parent 51fba995c3
commit d2aa1f46cc
2 changed files with 0 additions and 6 deletions

View File

@ -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;

View File

@ -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");
}
}