geekbot/Geekbot.net/Lib/CatClient.cs
2017-04-13 13:22:30 +02:00

24 lines
No EOL
459 B
C#

using System;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using RestSharp;
namespace Geekbot.net.Modules
{
public interface ICatClient
{
IRestClient Client { get; set; }
}
public class CatClient : ICatClient
{
//Manage a restClient
public CatClient()
{
Client = new RestClient("http://random.cat");
}
public IRestClient Client { get; set; }
}
}