auto accept invite

This commit is contained in:
William Mantly 2023-05-10 09:54:05 -04:00
parent 7995c3239d
commit 251b250f00

View File

@ -68,6 +68,14 @@ function getSiteFromBot(name){
}
module.exports = {
'.invite': {
desc: `The bot will /accept an /invite from you.`,
allowed: ['wmantly', 'useless666', 'tux4242', 'owenshorts', 'pi_chef'],
async function(from){
await this.whisper('Coming');
await this.say(`/accept`);
}
},
'inv': {
desc: `Have bot.\n Site -- one'`,
// allowed: townMemebers,