fix(10grans): forecast regression
This commit is contained in:
parent
7a9bac2bf4
commit
f37e2471c0
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ exports.runQuery = async function (roomId, event, notice) {
|
|||
const original = await matrixClient.sendHtmlNotice(roomId, `${loadingString}`, `<code>${loadingString}</code>`);
|
||||
const findAllUsers = await fediverse.utils.getStatusMentions(notice, event, original);
|
||||
const exclude = "@10grans@fedi.cc";
|
||||
const users = users.filter(users => !exclude.includes(findAllUsers))
|
||||
const users = findAllUsers.filter(users => !exclude.includes(findAllUsers))
|
||||
if (!users) return matrix.utils.editNoticeHTML(roomId, original, `<code>No eligible users found.</code>`);
|
||||
const rain = (users) => {
|
||||
amount = users.length * 0.00000001337 // by per user:
|
||||
|
|
Loading…
Reference in a new issue