This commit is contained in:
L̷O̷N̷D̷O̷N̷少林 2025-01-16 15:20:30 -05:00 committed by GitHub
parent b4dabbe8fd
commit f58366dfdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ export default class extends Module {
@bindThis
private async mentionHook(msg: Message) {
if (msg.includes(['占', 'うらな', '運勢', 'おみくじ'])) {
if (msg.includes(['Fortune telling', 'うらな', 'fortune', 'おみくじ'])) {
const date = new Date();
const seed = `${date.getFullYear()}/${date.getMonth()}/${date.getDate()}@${msg.userId}`;
const rng = seedrandom(seed);