From 2c5bee9a3f0b14c0757b4bca4b04856df3d17d01 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Sat, 9 Apr 2016 02:01:13 +0200 Subject: [PATCH] Someone else did it! --- NadekoBot/Modules/Conversations.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/NadekoBot/Modules/Conversations.cs b/NadekoBot/Modules/Conversations.cs index 2ad59ee1..58b61f26 100644 --- a/NadekoBot/Modules/Conversations.cs +++ b/NadekoBot/Modules/Conversations.cs @@ -35,10 +35,15 @@ namespace NadekoBot.Modules cgb.AddCheck(Classes.Permissions.PermissionChecker.Instance); cgb.CreateCommand("e") - .Description("You did it.") + .Description("You did it. Or someone else!") + .Parameter("other", ParameterType.Unparsed) .Do(async e => { - await e.Channel.SendMessage($"{e.User.Name} did it. 😒 🔫"); + var other = e.GetArg("other"); + if (string.IsNullOrWhiteSpace(other)) + await e.Channel.SendMessage($"{e.User.Name} did it. 😒 🔫"); + else + await e.Channel.SendMessage($"{other} did it. 😒 🔫"); }); cgb.CreateCommand("comeatmebro")