New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

butlerbot-countdown

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

butlerbot-countdown

countdown plugin for butlerbot

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

butlerbot-countdown

countdown plugin for butlerbot

Install

yarn add butlerbot-countdown

Create a file in the plugin dir as follows

import countdown from 'butlerbot-countdown';
export default countdown({
  development: {
    letterOptions: {
      vowels: {
        A: 15,
        E: 21,
        I: 13,
        O: 13,
        U: 5,
      },
      consonants: {
        B: 2,
        C: 3,
        D: 6,
        F: 2,
        G: 3,
        H: 2,
        J: 1,
        K: 1,
        L: 5,
        M: 4,
        N: 8,
        P: 4,
        Q: 1,
        R: 9,
        S: 9,
        T: 9,
        V: 1,
        W: 1,
        X: 1,
        Y: 1,
        Z: 1,
      },
    },

    numberOptions: {
      large: ['25', '50', '75', '100'],
      small: [
        '1',
        '2',
        '3',
        '4',
        '5',
        '6',
        '7',
        '8',
        '9',
        '10',
        '1',
        '2',
        '3',
        '4',
        '5',
        '6',
        '7',
        '8',
        '9',
        '10',
      ],
    },

    roundOptions: {
      letters: [1, 2, 4, 5, 7, 8, 10, 11, 12, 13],
      numbers: [3, 6, 9, 14],
      lettersRoundMinutes: 2,
      numbersRoundMinutes: 5,
      conundrumRoundMinutes: 2,
      secondsBeforeConundrum: 15,
      minimumVowels: 3,
      minimumConstant: 3,
    },

    gameOptions: {
      setTopic: true,
      topicBase: '|| Dev Bot || Expect spam || Expect breakings',
      minutesBeforeStart: 2,
      roundMinutes: 2,
      maxIdleCount: 3,
    },

    pluginOptions: {
      channels: ['#butlerbot'],
      channelsToExclude: [],
      channelsToJoin: ['#butlerbot'],
    },
  },

  production: {
    letterOptions: {
      vowels: {
        A: 15,
        E: 21,
        I: 13,
        O: 13,
        U: 5,
      },
      consonants: {
        B: 2,
        C: 3,
        D: 6,
        F: 2,
        G: 3,
        H: 2,
        J: 1,
        K: 1,
        L: 5,
        M: 4,
        N: 8,
        P: 4,
        Q: 1,
        R: 9,
        S: 9,
        T: 9,
        V: 1,
        W: 1,
        X: 1,
        Y: 1,
        Z: 1,
      },
    },

    numberOptions: {
      large: ['25', '50', '75', '100'],
      small: [
        '1',
        '2',
        '3',
        '4',
        '5',
        '6',
        '7',
        '8',
        '9',
        '10',
        '1',
        '2',
        '3',
        '4',
        '5',
        '6',
        '7',
        '8',
        '9',
        '10',
      ],
    },

    roundOptions: {
      letters: [1, 2, 4, 5, 7, 8, 10, 11, 12, 13],
      numbers: [3, 6, 9, 14],
      lettersRoundMinutes: 2,
      numbersRoundMinutes: 5,
      conundrumRoundMinutes: 2,
      secondsBeforeConundrum: 15,
      minimumVowels: 3,
      minimumConstant: 3,
    },

    gameOptions: {
      setTopic: true,
      topicBase: '|| wiki: https://github.com/butlerx/butlerbot/wiki/Countdown',
      notifyUsers: false,
      minutesBeforeStart: 2,
      maxIdleCount: 3,
    },

    pluginOptions: {
      channels: ['#butlerbot'],
      channelsToExclude: [],
      channelsToJoin: ['#butlerbot'],
    },
  },
});

FAQs

Package last updated on 04 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc