text: const assert = require('assert')
  const { once } = require('events')
  
  module.exports = () => async (bot) => {
    bot.test.sayEverywhere('/weather clear')
    await bot.test.wait(1000)
    bot.test.sayEverywhere('/weather rain')
  
    await once(bot, 'rain')
    assert.strictEqual(bot.isRaining, true)
    bot.test.sayEverywhere('/weather clear')
  
    await once(bot, 'rain')
    assert.strictEqual(bot.isRaining, false)
  }
  