forked from wmantly/mc-bot-town
added say command and comments
This commit is contained in:
@ -12,5 +12,14 @@ module.exports = {
|
||||
`${command} -- ${this.commands[command].desc || ''}`
|
||||
));
|
||||
}
|
||||
},
|
||||
'say': {
|
||||
desc: `Make the bot say stuff in chat`,
|
||||
allowed: ['wmantly', 'useless666', 'tux4242'],
|
||||
ignoreLock: true,
|
||||
async function(from, ...messages){
|
||||
await this.say((messages || []).join(' '));
|
||||
}
|
||||
|
||||
}
|
||||
};
|
||||
|
@ -35,7 +35,7 @@ let sites = {
|
||||
foend: {
|
||||
bot: 'ez',
|
||||
desc: `Get an invite to the Farming outpost in the end.`,
|
||||
allowed: ['wmantly', 'useless666', 'tux4242', 'pi_chef', 'pi_chef', '1_cut',],
|
||||
allowed: ['wmantly', 'useless666', 'tux4242', 'pi_chef', '1_cut',],
|
||||
},
|
||||
sb: {
|
||||
bot: 'owen',
|
||||
@ -47,11 +47,11 @@ let sites = {
|
||||
desc: `Get an invite to the Core.`,
|
||||
allowed: ['wmantly', 'useless666', 'tux4242', 'pi_chef', 'pi_chef', '1_cut', 'Ethan63020', 'Ethan63021', 'VinceNL', 'nootbot'],
|
||||
},
|
||||
// city: {
|
||||
// bot: 'art',
|
||||
// desc: 'Invite to the city',
|
||||
// allowed: ['wmantly', 'useless666', 'tux4242', 'owenshorts', 'VinceNL', 'Ethan63020', 'Ethan63021']
|
||||
// },
|
||||
art: {
|
||||
bot: 'art',
|
||||
desc: 'Invite to art',
|
||||
allowed: ['wmantly', 'useless666', 'tux4242']
|
||||
},
|
||||
german: {
|
||||
bot: 'linda',
|
||||
desc: `Get an invite you Germans area.`,
|
||||
@ -71,6 +71,7 @@ module.exports = {
|
||||
'.invite': {
|
||||
desc: `The bot will /accept an /invite from you.`,
|
||||
allowed: ['wmantly', 'useless666', 'tux4242', 'owenshorts', 'pi_chef'],
|
||||
ignoreLock: true,
|
||||
async function(from){
|
||||
await this.whisper('Coming');
|
||||
await this.say(`/accept`);
|
||||
@ -78,7 +79,7 @@ module.exports = {
|
||||
},
|
||||
'inv': {
|
||||
desc: `Have bot.\n Site -- one'`,
|
||||
// allowed: townMemebers,
|
||||
ignoreLock: true,
|
||||
async function(from, site){
|
||||
this.__unLockCommand();
|
||||
|
||||
|
Reference in New Issue
Block a user