Upped version

This commit is contained in:
Master Kwoth 2017-08-15 22:59:48 +02:00
parent d74a23d215
commit e50e71014e
3 changed files with 8 additions and 1 deletions

View File

@ -487,6 +487,9 @@ namespace NadekoBot.Modules.Gambling
[Priority(0)]
public async Task WaifuGift(WaifuItem.ItemName item, [Remainder] IUser waifu)
{
if (waifu.Id == Context.User.Id)
return;
var itemObj = WaifuItem.GetItem(item);
using (var uow = _db.UnitOfWork)

View File

@ -91,4 +91,8 @@
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" />
<DotNetCliToolReference Include="Microsoft.DotNet.Watcher.Tools" Version="1.0.0" />
</ItemGroup>
<ItemGroup>
<Folder Include="Modules\Gambling\Common\Waifu\" />
</ItemGroup>
</Project>

View File

@ -20,7 +20,7 @@ namespace NadekoBot.Services.Impl
private readonly IBotCredentials _creds;
private readonly DateTime _started;
public const string BotVersion = "1.6.4";
public const string BotVersion = "1.7";
public string Author => "Kwoth#2560";
public string Library => "Discord.Net";