idk
This commit is contained in:
@ -101,6 +101,23 @@ module.exports = {
|
||||
this.whisper(from, '?')
|
||||
}
|
||||
},
|
||||
'come': {
|
||||
desc: `make bot come to you`,
|
||||
allowed: ['wmantly', 'useless666', 'tux4242'],
|
||||
async function(from, playerName){
|
||||
const player = this.bot.players[playerName || from];
|
||||
|
||||
if (!player || !player.entity) {
|
||||
this.whisper(from, `I can't see ${player}.`);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
this.whisper(from, `Going to ${player}`);
|
||||
this.goTo({where: player.entity.position});
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
'logon': {
|
||||
desc: `Have bot log on for 10 seconds'`,
|
||||
|
Reference in New Issue
Block a user