forked from wmantly/mc-bot-town
auto accept invite
This commit is contained in:
parent
7995c3239d
commit
251b250f00
@ -68,6 +68,14 @@ function getSiteFromBot(name){
|
|||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
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': {
|
'inv': {
|
||||||
desc: `Have bot.\n Site -- one'`,
|
desc: `Have bot.\n Site -- one'`,
|
||||||
// allowed: townMemebers,
|
// allowed: townMemebers,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user