module.exports = client => {
console.log(`${client.user.tag} logging in...`);
setTimeout(clientRun => {console.log(`${client.user.tag} logged and ready to go!\n`);},7000);
var hour = moment().tz('Asia/Manila').format('HH');
var stat;
if (hour >= 0 && hour <= 17) {
let id = client.user.???
con.query(`SELECT * FROM boss WHERE id = ${id}`, (err, row) => {
if (err) throw err;
stat = row[0].stat;
基于上面的代码,我想获取行会ID并从数据库中验证/提取信息,并稍后将其用于嵌入式消息。