removed unneeded debug info
This commit is contained in:
parent
1961eefd46
commit
a1041b2672
1 changed files with 3 additions and 12 deletions
|
|
@ -16,20 +16,11 @@ namespace BSB.Commands.Group
|
||||||
UUID target_role = UUID.Zero;
|
UUID target_role = UUID.Zero;
|
||||||
if (args.Length == 3)
|
if (args.Length == 3)
|
||||||
{
|
{
|
||||||
if(UUID.TryParse(args[2], out target_role) == true)
|
if(UUID.TryParse(args[2], out target_role) == false)
|
||||||
{
|
{
|
||||||
ConsoleLog.Info("GroupInvite: Inviting to target role " + group.ToString() + " - Role: "+ target_role.ToString()+" - " + avatar.ToString() + "");
|
ConsoleLog.Warn("GroupInvite: Role uuid not vaild using everyone");
|
||||||
}
|
}
|
||||||
else
|
}
|
||||||
{
|
|
||||||
ConsoleLog.Info("GroupInvite: Role uuid not vaild using everyone " + group.ToString() + " - Role: Everyone - " + avatar.ToString() + "");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
ConsoleLog.Info("GroupInvite: sending invite to group " + group.ToString() + " - Role: Everyone - "+avatar.ToString()+"");
|
|
||||||
}
|
|
||||||
|
|
||||||
bot.GetClient.Groups.Invite(group, new List<UUID>() { target_role }, avatar);
|
bot.GetClient.Groups.Invite(group, new List<UUID>() { target_role }, avatar);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue