Update nodejs/controller/commands/invite.js

This commit is contained in:
Ethan Ethan 2023-11-25 01:15:21 +00:00
parent 9a938ba54d
commit 38cb7829c2

View File

@ -25,32 +25,32 @@ let sites = {
fo: { fo: {
bot: 'jimin', bot: 'jimin',
desc: `Get an invite to the Farming outpost.`, desc: `Get an invite to the Farming outpost.`,
allowed: ['wmantly', 'useless666', 'tux4242', 'pi_chef', 'pi_chef', '1_cut', 'nootbot', 'VinceNL', 'Ethan63020', 'Ethan63021', 'KimiKava', 'kawiimeowz', 'RaindropCake24', 'AndyNyg', 'AndyNyg_II'], allowed: ['wmantly', 'useless666', 'tux4242', 'nootbot', 'VinceNL', 'Ethan63020', 'Ethan63021', 'KimiKava', 'kawiimeowz', 'RaindropCake24', 'AndyNyg', 'AndyNyg_II'],
}, },
guardian: { guardian: {
bot: 'art', bot: 'art',
desc: 'blah', desc: 'blah',
allowed: ['wmantly', 'useless666', 'tux4242', 'pi_chef', 'pi_chef', '1_cut', 'Ethan63020', 'Ethan63021', 'VinceNL', 'nootbot'], allowed: ['wmantly', 'useless666', 'tux4242', 'Ethan63020', 'Ethan63021', 'VinceNL', 'nootbot'],
}, },
fo2: { fo2: {
bot: 'henry', bot: 'henry',
desc: `Get an invite to the Farming outpost 2.`, desc: `Get an invite to the Farming outpost 2.`,
allowed: ['wmantly', 'useless666', 'tux4242', 'pi_chef', 'pi_chef', '1_cut', 'Ethan63020', 'Ethan63021', 'VinceNL', 'nootbot'], allowed: ['wmantly', 'useless666', 'tux4242', 'Ethan63020', 'Ethan63021', 'VinceNL', 'nootbot'],
}, },
foend: { foend: {
bot: 'ez', bot: 'ez',
desc: `Get an invite to the Farming outpost in the end.`, desc: `Get an invite to the Farming outpost in the end.`,
allowed: ['wmantly', 'useless666', 'tux4242', 'pi_chef', '1_cut', 'Ethan63020', 'Ethan63021'], allowed: ['wmantly', 'useless666', 'tux4242', 'Ethan63020', 'Ethan63021'],
}, },
sb: { sb: {
bot: 'owen', bot: 'owen',
desc: `Get an invite to the Sky Base.`, desc: `Get an invite to the Sky Base.`,
allowed: ['wmantly', 'useless666', 'tux4242', 'pi_chef', 'pi_chef', '1_cut', 'Ethan63020', 'Ethan63021', 'VinceNL', 'nootbot'], allowed: ['wmantly', 'useless666', 'tux4242', 'Ethan63020', 'Ethan63021', 'VinceNL', 'nootbot'],
}, },
core: { core: {
bot: 'nova', bot: 'nova',
desc: `Get an invite to the Core.`, desc: `Get an invite to the Core.`,
allowed: ['wmantly', 'useless666', 'tux4242', 'pi_chef', 'pi_chef', '1_cut', 'Ethan63020', 'Ethan63021', 'VinceNL', 'nootbot', 'AndyNyg', 'AndyNyg_II','Lost_Imback', 'KimiKava', 'kawiimeowz', 'RaindropCake24',], allowed: ['wmantly', 'useless666', 'tux4242', 'Ethan63020', 'Ethan63021', 'VinceNL', 'nootbot', 'AndyNyg', 'AndyNyg_II','Lost_Imback', 'KimiKava', 'kawiimeowz', 'RaindropCake24',],
}, },
art: { art: {
bot: 'art', bot: 'art',
@ -75,7 +75,7 @@ function getSiteFromBot(name){
module.exports = { module.exports = {
'.invite': { '.invite': {
desc: `The bot will /accept an /invite from you.`, desc: `The bot will /accept an /invite from you.`,
allowed: ['wmantly', 'useless666', 'tux4242', 'owenshorts', 'pi_chef'], allowed: ['wmantly', 'useless666', 'tux4242', 'owenshorts', 'Ethan63020', 'Ethan63021'],
ignoreLock: true, ignoreLock: true,
async function(from){ async function(from){
await this.whisper('Coming'); await this.whisper('Coming');