#407: "Member of the Club" - Join first sponsored group in FAS -------------------------------------+------------------------------------- Reporter: jflory7 | Owner: Type: New badge | elioqoshi idea | Status: Priority: minor | assigned Keywords: fas | Resolution: Has a description: 1 | Has a name: Artwork status: Proposed | 1 External requirements: | Concept approved (reviewers only): Triaged (triagers only): 1 | 1 | Badge definition status: | Partial | Manually awarded: | 0 -------------------------------------+-------------------------------------
Comment (by jflory7):
This ticket came in a CommOps hack session on [https://etherpad.gnome.org/p/commops-power-sessions 2016-05-18].
== YAML ==
The YAML is partially defined for all of these badges. The only thing missing is the logic, but it might look something like this?
{{{ trigger: all: - topic: fas.group.member.sponsor - lambda: msg.get('msg', {}).get('group', None) == '*'
criteria: datanommer: filter: topics: - "%(topic)s" users: - "%(msg.user)s" operation: count condition: greater than or equal to: 1
recipient: "%(msg.user)s" }}}
The main concern is with how I used the wildcard in the lambda statement. Not sure if that's possible…
== Artwork ==
Replying to [comment:8 duffy]:
member of the club ideas from pingou:
- (1) pandas waving from a clubhouse / treehouse (inviting you to the
club)
- (2) panda membership card (now you're a member, welcome!)
- (3) pandas giving a t-shirt (thank you for your membership)
- (4) two pandas with panda tattoos on their upper arm (part of the
gang)
- (5) pandas dancing around the maypole?
Of all the proposed ideas, I think I like #1 the best personally.