Added different message if user hugs themselves

This commit is contained in:
Deukhoofd 2018-10-15 17:42:35 +02:00
parent 0e1ca423e8
commit 6dcdda3e5d
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
1 changed files with 11 additions and 3 deletions

View File

@ -294,9 +294,17 @@ namespace DeukBot4.MessageHandlers.CommandHandler
return;
var user = await request.Parameters[0].AsDiscordUser(guildChannel.Guild);
var message = $"{request.OriginalMessage.Author.Mention} gives {user.Mention} a hug!";
string message;
if (request.OriginalMessage.Author.Id == user.Id)
{
message = $"{user.Mention} hugs themselves. That's pretty sad to be honest.";
}
else
{
message = $"{request.OriginalMessage.Author.Mention} gives {user.Mention} a hug!";
if (request.OriginalMessage.Author.Id == 355330726650052610)
message += " That's pt gay tbh.";
}
request.SendSimpleEmbed("Hug!", message);
}
}