added titles & GM display for listing groups
This commit is contained in:
parent
13f2bf30fa
commit
2e26b1c210
1 changed files with 3 additions and 2 deletions
|
|
@ -143,12 +143,13 @@ export class GroupCommand implements Command, ChatInteractionCommand, Autocomple
|
||||||
const nextPlaydate = playdateRepo.getNextPlaydateForGroup(group);
|
const nextPlaydate = playdateRepo.getNextPlaydateForGroup(group);
|
||||||
|
|
||||||
const values = [
|
const values = [
|
||||||
`${iconCache.getEmoji("people_group_solid")} ${roleMention(group.role.roleid)}`
|
`Role: ${iconCache.getEmoji("people_group_solid")} ${roleMention(group.role.roleid)}`,
|
||||||
|
`Leader/GM: ${userMention(group.leader.memberid)}`
|
||||||
];
|
];
|
||||||
|
|
||||||
if (nextPlaydate) {
|
if (nextPlaydate) {
|
||||||
values.push(
|
values.push(
|
||||||
`${iconCache.getEmoji("calendar_days_solid")} ${time(nextPlaydate.from_time, "F")}`
|
`Next Playdate: ${iconCache.getEmoji("calendar_days_solid")} ${time(nextPlaydate.from_time, "F")}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue