Remove the !evergiven command

This commit is contained in:
Daan Boerlage 2021-04-07 22:49:13 +02:00
parent 153ce3dca4
commit 8bd8efa66a
Signed by: daan
GPG key ID: FCE070E1E4956606

View file

@ -1,41 +0,0 @@
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using Discord.Commands;
using Geekbot.Core;
using Geekbot.Core.ErrorHandling;
using Geekbot.Core.GuildSettingsManager;
using HtmlAgilityPack;
namespace Geekbot.Bot.Commands.Utils
{
public class Evergiven : GeekbotCommandBase
{
public Evergiven(IErrorHandler errorHandler, IGuildSettingsManager guildSettingsManager) : base(errorHandler, guildSettingsManager)
{
}
[Command("evergiven", RunMode = RunMode.Async)]
[Summary("Check if the evergiven ship is still stuck in the suez canal")]
public async Task GetStatus()
{
try
{
var sb = new StringBuilder();
sb.AppendLine("Is that ship still stuck?");
sb.AppendLine("**No!**");
sb.AppendLine("It was stuck for 6 days, 3 hours and 38 minutes. It (probably) cost \"us\" $59 billion.");
sb.AppendLine("You can follow it here: <https://www.vesselfinder.com/?imo=9811000>");
await ReplyAsync(sb.ToString());
}
catch (Exception e)
{
await ErrorHandler.HandleCommandException(e, Context);
}
}
}
}