generated from nhcarrigan/template
feat: allow pinging roles
This commit is contained in:
@ -66,7 +66,14 @@ export const standup = async(
|
||||
await Promise.all(
|
||||
filtered.map(async(channel) => {
|
||||
const sent = await channel.
|
||||
send(
|
||||
send({ allowedMentions: {
|
||||
roles: [
|
||||
channels.find((c) => {
|
||||
return c.channelId === channel.id;
|
||||
})?.roleId ?? "692816967895220344",
|
||||
],
|
||||
},
|
||||
content:
|
||||
`Good morning <@&${
|
||||
channels.find((c) => {
|
||||
return c.channelId === channel.id;
|
||||
@ -75,8 +82,7 @@ export const standup = async(
|
||||
|
||||
1️⃣ What did you accomplish yesterday?
|
||||
2️⃣ What are you working on today?
|
||||
3️⃣ Are there any blockers or issues you need help with?`,
|
||||
).
|
||||
3️⃣ Are there any blockers or issues you need help with?` }).
|
||||
catch(() => {
|
||||
void logger.log(
|
||||
"warn",
|
||||
|
Reference in New Issue
Block a user