Merge pull request #246 from FiniteReality/dev

Fix command aliases (#244)
This commit is contained in:
RogueException
2016-08-29 11:08:01 -03:00
committed by GitHub

View File

@@ -23,9 +23,9 @@ namespace Discord.Commands
string name;
if (nextSpace == -1)
name = command.Text;
name = text;
else
name = command.Text.Substring(0, nextSpace);
name = text.Substring(0, nextSpace);
lock (this)
{
@@ -42,9 +42,9 @@ namespace Discord.Commands
string name;
if (nextSpace == -1)
name = command.Text;
name = text;
else
name = command.Text.Substring(0, nextSpace);
name = text.Substring(0, nextSpace);
lock (this)
{