Skip to content

Commit 2bd0595

Browse files
committed
games: Modnote in addugopoints
1 parent 6fa0036 commit 2bd0595

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/ps/commands/games/other.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,12 @@ export const command: PSCommand[] = [
265265

266266
addUGOPoints.bind(message.parent)(Object.fromEntries(users.map(name => [name, amount])), 'event');
267267

268-
broadcast(
269-
$T('COMMANDS.POINTS.ADDED_POINTS_TO_USERS', {
270-
pointsText: pluralize(amount, { singular: 'UGO Event Point', plural: 'UGO Event Points' }),
271-
users: users.list($T),
272-
})
273-
);
268+
const log = $T('COMMANDS.POINTS.ADDED_POINTS_TO_USERS', {
269+
pointsText: pluralize(amount, { singular: 'UGO Event Point', plural: 'UGO Event Points' }),
270+
users: users.list($T),
271+
});
272+
broadcast(log);
273+
message.parent.getRoom('Board Games').send(`/modnote ${log}`);
274274
},
275275
},
276276
];

0 commit comments

Comments
 (0)