Fixed a lot of the thigs that Visual Studio was whining about. Suppressed a few warnings. Added supression to unused variable warnings to each file.

This commit is contained in:
Christopher Darnell committed 2021-04-26 18:05:23 -07:00
1 parent b2d6cff5ed
commit 843261cf68
11 files changed
+53 -41

No files matched your search

+9 -7
View File
@@ -34,13 +34,15 @@ namespace StarsiegeBot
{
// Since we need to creat it, we're going to set some default stuff.
Console.Write("Guild Settings Config File Not Found. Creating One...");
GuildSettings item = new GuildSettings();
item.UseAutoRoles = false;
item.UseGlobalPrefix = true;
item.UseLevelRoles = false;
item.UseLevels = false;
item.UseSelfRoles = false;
item.AllowRolesPurchase = false;
GuildSettings item = new GuildSettings
{
UseAutoRoles = false,
UseGlobalPrefix = true,
UseLevelRoles = false,
UseLevels = false,
UseSelfRoles = false,
AllowRolesPurchase = false
};
item.UseAutoRoles = false;
item.LevelRoles = new Dictionary<int, List<DiscordRole>>();
item.Prefixes = new List<string>();