dog command and namespace fixes

This commit is contained in:
Runebaas 2017-05-06 20:35:31 +02:00
parent c670bf7ae3
commit 8703a64556
13 changed files with 57 additions and 12 deletions

View file

@ -1,6 +1,6 @@
using RestSharp;
namespace Geekbot.net.Modules
namespace Geekbot.net.Lib.IClients
{
public interface ICatClient
{

View file

@ -0,0 +1,19 @@
using RestSharp;
namespace Geekbot.net.Lib.IClients
{
public interface IDogClient
{
IRestClient Client { get; set; }
}
public class DogClient : IDogClient
{
public DogClient()
{
Client = new RestClient("http://random.dog");
}
public IRestClient Client { get; set; }
}
}

View file

@ -1,7 +1,7 @@
using System;
using StackExchange.Redis;
namespace Geekbot.net.Lib
namespace Geekbot.net.Lib.IClients
{
public interface IRedisClient
{

View file

@ -1,6 +1,7 @@
using System;
using System.Threading.Tasks;
using Discord.WebSocket;
using Geekbot.net.Lib.IClients;
using StackExchange.Redis;
namespace Geekbot.net.Lib