testing again
This commit is contained in:
parent
09aba0b845
commit
b812f807aa
1 changed files with 3 additions and 3 deletions
|
|
@ -29,10 +29,10 @@ namespace BSB.Commands.Group
|
||||||
{
|
{
|
||||||
ConsoleLog.Info("GroupInvite: Inviting to everyone role.");
|
ConsoleLog.Info("GroupInvite: Inviting to everyone role.");
|
||||||
}
|
}
|
||||||
List<UUID> invite_roles = new List<UUID>();
|
ConsoleLog.Info("GroupInvite: sending invite to group "+group.ToString()+".");
|
||||||
invite_roles.Add(target_role);
|
bot.GetClient.Groups.Invite(group, new List<UUID>() { target_role }, avatar);
|
||||||
bot.GetClient.Groups.Invite(group, invite_roles, avatar);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Callback(string[] args, EventArgs e)
|
public override void Callback(string[] args, EventArgs e)
|
||||||
{
|
{
|
||||||
GroupMembersReplyEventArgs reply = (GroupMembersReplyEventArgs)e;
|
GroupMembersReplyEventArgs reply = (GroupMembersReplyEventArgs)e;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue