public async Task <string> RelieveInfraction()
        {
            SocketGuild guild = BotCore.Client.GetGuild(GuildId);

            if (guild != null)
            {
                SocketGuildUser user = guild.GetUser(UserId);

                GuildModerationLog guildLog = GuildModerationLog.GetOrCreateGuildModerationLog(GuildId);
                UserModerationLog  userLog  = guildLog.GetOrCreateUserModerationLog(UserId);

                if (Type == ModerationType.Banned)
                {
                    if (userLog.BannedUntil.HasValue)
                    {
                        if (userLog.BannedUntil.Value == Ends)
                        {
                            await guild.RemoveBanAsync(UserId);

                            return(null);
                        }
                    }
                    return("Banstate Invalid!");
                }

                if (Type == ModerationType.Muted)
                {
                }

                return($"Unhandled timelimited moderation type `{Type}`");
            }
            else
            {
                return($"Guild `{GuildId}` not found!");
            }
        }
 public static UserModerationLog GetOrCreateUserModerationLog(ulong guildId, ulong userId, out GuildModerationLog guildLog)
 {
     guildLog = GetOrCreateGuildModerationLog(guildId);
     return(guildLog.GetOrCreateUserModerationLog(userId));
 }