File size: 297 Bytes
bb69f9b
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const { bot, aliveMessage } = require('../lib/')

bot(
  {
    pattern: 'alive ?(.*)',
    desc: 'bot alive message',
    type: 'misc',
  },
  async (message, match) => {
    const { msg, options, type } = await aliveMessage(match, message)
    return await message.send(msg, options, type)
  }
)