dog command and namespace fixes
This commit is contained in:
parent
c670bf7ae3
commit
8703a64556
13 changed files with 57 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
using RestSharp;
|
||||
|
||||
namespace Geekbot.net.Modules
|
||||
namespace Geekbot.net.Lib.IClients
|
||||
{
|
||||
public interface ICatClient
|
||||
{
|
||||
|
|
19
Geekbot.net/Lib/IClients/DogClient.cs
Normal file
19
Geekbot.net/Lib/IClients/DogClient.cs
Normal 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; }
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using StackExchange.Redis;
|
||||
|
||||
namespace Geekbot.net.Lib
|
||||
namespace Geekbot.net.Lib.IClients
|
||||
{
|
||||
public interface IRedisClient
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue