Giter Club home page Giter Club logo

pombot's Introduction

Pomodoro Bot

This Discord bot was created for the Knights of Academia Discord server (invite). It handles what we call pomodoro raids, group pomodoro timers. A pom or pomodoro is simply a focused work session of 25 minutes. The Pomodoro Technique involves alternating work periods of 25 minutes, with rest periods of 5 minutes. A Pomorodo Raids is the group version of this technique, allowing multiple people to use the same timer at the same time.

Features:

  • Alternating 25 minutes of work and 5 minutes of break
  • Join/leave with reactions
  • Automatically stops when everyone leaves, does not run when no-one joins
  • All data is saved in the database
  • Includes a leaderboard command
  • Clock that updates at a configurable interval

Screenshot

Installation

This bot was created solely for Knights of Academia. That said, the code is not locked in to their Discord server and is fully configurable. Example configuration is available in config_example.js. The configuration file name will be named config.js:

# Run using the configuration from `config.js`
node index.js

Database models are in the models/ directory. You could use those and let Sequelize sync the database up for you. You'll have to figure this out using their examples though. The code is also pretty well documented, although if I were to start a project like this again it wouldn't at all be implemented this way again.

Contributing

This project is not actively developed anymore. That said, if you have anything interesting to propose, feel free to reach out to kindly#0001 on the support server of my Quarko bot (invite).

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.