mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
Adjust think-of
This commit is contained in:
@@ -58,7 +58,7 @@ module.exports = class ThinkOfCommand extends Command {
|
||||
} else if (girlfriendUser && owner) {
|
||||
thought = thoughts[5];
|
||||
} else {
|
||||
const calculated = Math.abs(Number.parseInt(BigInt(first.id) - BigInt(second.id), 10));
|
||||
const calculated = Number.parseInt(BigInt(first.id) - BigInt(second.id), 10);
|
||||
const random = MersenneTwister19937.seed(calculated);
|
||||
thought = thoughts[integer(0, thoughts.length - 1)(random)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user