added say command and comments

This commit is contained in:
2023-05-11 11:09:50 -04:00
parent 1916cb8725
commit f71899e9c0
4 changed files with 72 additions and 33 deletions

View File

@ -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(' '));
}
}
};

View File

@ -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();