summaryrefslogtreecommitdiff
path: root/chatgroups.py
diff options
context:
space:
mode:
authorDico200 <dico.karssiens@gmail.com>2015-04-09 01:39:41 +0200
committerDico200 <dico.karssiens@gmail.com>2015-04-09 01:39:41 +0200
commit9a0767676ce84a0249197d0d33a423699c763df4 (patch)
tree48c3e7e8029d2c85fa17f196fbfb374592085441 /chatgroups.py
parent58eea64148c5e8e36060aaac38489dcd4ea8cbc0 (diff)
Didn't upload this for some reason
Diffstat (limited to 'chatgroups.py')
-rw-r--r--chatgroups.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/chatgroups.py b/chatgroups.py
index 38c5040..22b7699 100644
--- a/chatgroups.py
+++ b/chatgroups.py
@@ -30,6 +30,7 @@ def on_chatgroup_command(sender, command, label, args):
if sender_id in groups.keys():
group = groups[sender_id]
msg(sender, "&aCurrent chatgroup: %s" % group)
+ users = [user.getDisplayName() for user in [server.getPlayer(juuid(uuid)) for uuid, ugroup in groups.iteritems() if ugroup == group] if user]
msg(sender, "&aUsers in this group:")
msg(sender, "&a%s" % ", ".join(users))
else: