mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +02:00
LOVER_USER_ID
This commit is contained in:
@@ -3,7 +3,7 @@ const { MersenneTwister19937, integer } = require('random-js');
|
||||
const { createCanvas, loadImage } = require('canvas');
|
||||
const request = require('node-superfetch');
|
||||
const path = require('path');
|
||||
const { GIRLFRIEND_USER_ID } = process.env;
|
||||
const { LOVER_USER_ID } = process.env;
|
||||
const thoughts = require('../../assets/json/think-of');
|
||||
|
||||
module.exports = class ThinkOfCommand extends Command {
|
||||
@@ -50,7 +50,7 @@ module.exports = class ThinkOfCommand extends Command {
|
||||
const self = first.id === second.id;
|
||||
const owner = this.client.isOwner(first) || this.client.isOwner(second);
|
||||
const botUser = first.id === this.client.user.id || second.id === this.client.user.id;
|
||||
const girlfriendUser = first.id === GIRLFRIEND_USER_ID || second.id === GIRLFRIEND_USER_ID;
|
||||
const girlfriendUser = first.id === LOVER_USER_ID || second.id === LOVER_USER_ID;
|
||||
if (owner && botUser) {
|
||||
thought = thoughts[8];
|
||||
} else if (self) {
|
||||
|
||||
Reference in New Issue
Block a user