2018-05-03 00:56:06 +02:00
|
|
|
|
using System;
|
2018-06-13 22:18:57 +02:00
|
|
|
|
using System.Threading.Tasks;
|
2018-05-03 00:56:06 +02:00
|
|
|
|
using Discord.Commands;
|
|
|
|
|
using Discord.Net;
|
|
|
|
|
|
|
|
|
|
namespace Geekbot.net.Lib.ErrorHandling
|
|
|
|
|
{
|
|
|
|
|
public interface IErrorHandler
|
|
|
|
|
{
|
2018-06-13 22:18:57 +02:00
|
|
|
|
Task HandleCommandException(Exception e, ICommandContext context, string errorMessage = "def");
|
|
|
|
|
Task HandleHttpException(HttpException e, ICommandContext context);
|
2018-05-03 00:56:06 +02:00
|
|
|
|
}
|
|
|
|
|
}
|