generated from nhcarrigan/template
feat: make fallback ping use guild instead of hardcoded value
So we can reuse this bot for other utilities
This commit is contained in:
@ -70,14 +70,14 @@ export const standup = async(
|
|||||||
roles: [
|
roles: [
|
||||||
channels.find((c) => {
|
channels.find((c) => {
|
||||||
return c.channelId === channel.id;
|
return c.channelId === channel.id;
|
||||||
})?.roleId ?? "692816967895220344",
|
})?.roleId ?? channel.guildId,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
content:
|
content:
|
||||||
`Good morning <@&${
|
`Good morning <@&${
|
||||||
channels.find((c) => {
|
channels.find((c) => {
|
||||||
return c.channelId === channel.id;
|
return c.channelId === channel.id;
|
||||||
})?.roleId ?? "692816967895220344"
|
})?.roleId ?? channel.guildId
|
||||||
}> It is time for your daily progress update. Please share the following in this thread:
|
}> It is time for your daily progress update. Please share the following in this thread:
|
||||||
|
|
||||||
1️⃣ What did you accomplish yesterday?
|
1️⃣ What did you accomplish yesterday?
|
||||||
|
Reference in New Issue
Block a user