mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2024-10-03 04:23:13 +00:00
Appveyor.yml removed as we're using gitlab ci now. Thanks to furkan for pointing it out
This commit is contained in:
parent
c4e7e2159d
commit
690520a97c
3 changed files with 3 additions and 14 deletions
|
@ -67,6 +67,7 @@ namespace NadekoBot.Modules.NSFW
|
|||
.WithDescription($"[{GetText("tag")}: {tag}]({img})"))
|
||||
.ConfigureAwait(false);
|
||||
}
|
||||
|
||||
private async Task InternalBoobs(IMessageChannel Channel)
|
||||
{
|
||||
try
|
||||
|
@ -308,7 +309,7 @@ namespace NadekoBot.Modules.NSFW
|
|||
JToken obj;
|
||||
using (var http = _httpFactory.CreateClient())
|
||||
{
|
||||
obj = JArray.Parse(await http.GetStringAsync($"http://api.oboobs.ru/boobs/{new NadekoRandom().Next(0, 10330)}").ConfigureAwait(false))[0];
|
||||
obj = JArray.Parse(await http.GetStringAsync($"http://api.oboobs.ru/boobs/{new NadekoRandom().Next(0, 12000)}").ConfigureAwait(false))[0];
|
||||
}
|
||||
await Context.Channel.SendMessageAsync($"http://media.oboobs.ru/{obj["preview"]}").ConfigureAwait(false);
|
||||
}
|
||||
|
@ -327,7 +328,7 @@ namespace NadekoBot.Modules.NSFW
|
|||
JToken obj;
|
||||
using (var http = _httpFactory.CreateClient())
|
||||
{
|
||||
obj = JArray.Parse(await http.GetStringAsync($"http://api.obutts.ru/butts/{new NadekoRandom().Next(0, 4335)}").ConfigureAwait(false))[0];
|
||||
obj = JArray.Parse(await http.GetStringAsync($"http://api.obutts.ru/butts/{new NadekoRandom().Next(0, 6100)}").ConfigureAwait(false))[0];
|
||||
}
|
||||
await Context.Channel.SendMessageAsync($"http://media.obutts.ru/{obj["preview"]}").ConfigureAwait(false);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
![img](https://ci.appveyor.com/api/projects/status/gmu6b3ltc80hr3k9?svg=true)
|
||||
[![Discord](https://discordapp.com/api/guilds/117523346618318850/widget.png)](https://discord.gg/nadekobot)
|
||||
[![Documentation Status](https://readthedocs.org/projects/nadekobot/badge/?version=latest)](http://nadekobot.readthedocs.io/en/latest/?badge=latest)
|
||||
[![Discord Bots](https://discordbots.org/api/widget/status/116275390695079945.svg)](https://discordbots.org/bot/116275390695079945)
|
||||
|
|
11
appveyor.yml
11
appveyor.yml
|
@ -1,11 +0,0 @@
|
|||
version: 1.4.{build}
|
||||
before_build:
|
||||
- cmd: >-
|
||||
git submodule update --init --recursive
|
||||
|
||||
dotnet restore
|
||||
|
||||
cd src/NadekoBot/
|
||||
build_script:
|
||||
- cmd: >-
|
||||
dotnet build
|
Loading…
Reference in a new issue