debug info
This commit is contained in:
parent
b812f807aa
commit
1961eefd46
1 changed files with 4 additions and 4 deletions
|
|
@ -18,18 +18,18 @@ namespace BSB.Commands.Group
|
||||||
{
|
{
|
||||||
if(UUID.TryParse(args[2], out target_role) == true)
|
if(UUID.TryParse(args[2], out target_role) == true)
|
||||||
{
|
{
|
||||||
ConsoleLog.Info("GroupInvite: Inviting to role: "+ target_role.ToString()+".");
|
ConsoleLog.Info("GroupInvite: Inviting to target role " + group.ToString() + " - Role: "+ target_role.ToString()+" - " + avatar.ToString() + "");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ConsoleLog.Info("GroupInvite: Role uuid not vaild using everyone.");
|
ConsoleLog.Info("GroupInvite: Role uuid not vaild using everyone " + group.ToString() + " - Role: Everyone - " + avatar.ToString() + "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ConsoleLog.Info("GroupInvite: Inviting to everyone role.");
|
ConsoleLog.Info("GroupInvite: sending invite to group " + group.ToString() + " - Role: Everyone - "+avatar.ToString()+"");
|
||||||
}
|
}
|
||||||
ConsoleLog.Info("GroupInvite: sending invite to group "+group.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