=Fixed Bug#7 Tagging multiple people using !trade results in wrong error
Fixed, added check for multiple users being tagged.
This commit is contained in:
@@ -25,6 +25,11 @@ public class CommandTradeBeans extends Command
|
||||
res.send(LocStrings.stub("TradeBeansNoTargetError"));
|
||||
return;
|
||||
}
|
||||
if(input.mentions.length > 1)
|
||||
{
|
||||
res.send(LocStrings.stub("TradeBeansMultipleUsersTagged"));
|
||||
return;
|
||||
}
|
||||
|
||||
int beans = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user