Added different message if user hugs themselves
This commit is contained in:
parent
0e1ca423e8
commit
6dcdda3e5d
|
@ -294,9 +294,17 @@ namespace DeukBot4.MessageHandlers.CommandHandler
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var user = await request.Parameters[0].AsDiscordUser(guildChannel.Guild);
|
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)
|
if (request.OriginalMessage.Author.Id == 355330726650052610)
|
||||||
message += " That's pt gay tbh.";
|
message += " That's pt gay tbh.";
|
||||||
|
}
|
||||||
request.SendSimpleEmbed("Hug!", message);
|
request.SendSimpleEmbed("Hug!", message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue