Socket
Book a DemoInstallSign in
Socket

butlerbot-popping

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

butlerbot-popping

r/popping plugin for butlerbot

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

popping

This plugin allows users to get links to popping related content

Install

yarn add butlerbot-popping

Create a file in the plugin dir as follows

import popping from 'butlerbot-pooping';
export default pop({
  development: {
    channels: ['#butlerbot'],
    channelsToExclude: [],
    channelsToJoin: ['#butlerbot'],
    reddit: {
      userAgent: 'irc-bot',
      refreshToken: 'Will Need to get your own',
      clientId: 'ZZifBCPKv9cUOQ',
      clientSecret: 'Get it your self',
    },
  },

  production: {
    channels: ['#butlerbot'],
    channelsToExclude: [],
    channelsToJoin: ['#butlerbot'],
    reddit: {
      userAgent: 'irc-bot',
      refreshToken: 'Will Need to get your own',
      clientId: 'ZZifBCPKv9cUOQ',
      clientSecret: 'Get it your self',
    },
  },
});

Commands

  • **!pop ** - gives a random link to something popping related
  • !pop [link] - adds link to list of links

Usage

pop

To get a random link:

<mrs_girl> !pop
<butlerbot> NSFW!(most likely) https://www.youtube.com/watch?v=rGBdeQfcjLU

To add a link:

!pop https://www.youtube.com/watch?v=rGBdeQfcjLU

Configuration

channels

This option contains a list of channels that the plugin should respond to commands it defines.

channelsToExclude

This is an array of strings that the command should ignore commands in. Only used if the channels option is set to 'all'

channelsToJoin

This is an array of channels that the bot should join. The cards against humanity plugin doesn't support playing the games in multiple channels, so this should only contain one entry.

FAQs

Package last updated on 26 Nov 2017

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