Fuck Singletons

This commit is contained in:
dboerlage 2017-04-13 23:20:05 +02:00
parent 2e8d4b6125
commit 3ce207749f
No known key found for this signature in database
GPG key ID: BDA07B7D3FCF147F
7 changed files with 120 additions and 14 deletions

View file

@ -18,13 +18,8 @@ namespace Geekbot.net.Modules
{
var request = new RestRequest("meow.php", Method.GET);
var response = catClient.Client.Execute<CatObject>(request);
await ReplyAsync(response.Data.file);
dynamic response = catClient.Client.Execute<dynamic>(request);
await ReplyAsync(response.Data["file"]);
}
}
public class CatObject
{
public string file {get;set;}
}
}