diff --git a/src/NadekoBot/Modules/Gambling/WaifuClaimCommands.cs b/src/NadekoBot/Modules/Gambling/WaifuClaimCommands.cs index fbe9a101..3019155e 100644 --- a/src/NadekoBot/Modules/Gambling/WaifuClaimCommands.cs +++ b/src/NadekoBot/Modules/Gambling/WaifuClaimCommands.cs @@ -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) diff --git a/src/NadekoBot/NadekoBot.csproj b/src/NadekoBot/NadekoBot.csproj index 5e1db116..224f9f30 100644 --- a/src/NadekoBot/NadekoBot.csproj +++ b/src/NadekoBot/NadekoBot.csproj @@ -91,4 +91,8 @@ + + + + diff --git a/src/NadekoBot/Services/Impl/StatsService.cs b/src/NadekoBot/Services/Impl/StatsService.cs index fe56b94a..335db6b8 100644 --- a/src/NadekoBot/Services/Impl/StatsService.cs +++ b/src/NadekoBot/Services/Impl/StatsService.cs @@ -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";