GithubHelp home page GithubHelp logo

lil5 / slowdownbot Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 10 KB

IRC bot that asks people to stop posting for 30 seconds and think

License: Mozilla Public License 2.0

Python 100.00%
irc irc-bot slow peace mindful arguments

slowdownbot's Introduction

SlowDownBot

IRC bot that asks people to stop posting for 30 seconds and think

Requirements

  • python3
  • ability to set bot to 'op' on irc channel

Usage

slowircbot.py [options]

OPTIONS:
-h, --help    Show this help message
-k, --kick    Kick people who do not respect the curfew (default off)
-b, --ban     Ban people who do not respect the curfew (default off)
-s, --server  IRC Server (default irc.freenode.net)
-p, --port    IRC Server Port (default 6667)
-n, --nick    Nick of bot (default SlowDownBot)
-c, --channel Channel to enforce curfew on (with #)
-t, --time    Waiting time of curfew in seconds (default 30)

๐Ÿ˜” If set to -k or --kick any user can rejoin using this:

/rejoin #channel

โš ๏ธ If set to -b or --ban the user will not be able to return to the channel.

Example

  1. Run bot

    slowircbot.py -k --server=irc.freenode.net -p6667 --nick=MindfullBot --channel=#testslowbot -t20

  2. In irc channel

    /op MindfullBot

License

MLP-2.0

slowdownbot's People

Contributors

lil5 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

wrapperband

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.