8000 GitHub - afterdusk/carbonara: Simple discord pomodoro bot
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

afterdusk/carbonara

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

carbonara

Discord pomodoro bot and terrible OTP application.

Commands

cb!start

Starts a pomodoro session with 25 minutes work and 5, 5, 5, 15 minutes break cycles. Work/break pings will be sent to the channel where the command was run in. No VC support yet.

cb!stop

Stops the ongoing pomodoro session.

cb!join

Adds the command runner to a list of pomodoro followers. You'll get @mentioned for each work/break ping.

cb!leave

Removes the command runner from pomodoro followers, and future pings will not mention you.

Prerequisites

  • Erlang
  • Rebar3
  • Env variables:
    • DISCORD_TOKEN

Usage

Build

$ rebar3 compile

Run

$ rebar3 shell

Technical TODOs

  • Spawn a supervised process for each pom session, so that the app can support multiple pom sessions across servers
  • Typing
  • Docs
  • Tests
  • Docker
  • Better handling of env variables (DISCORD_TOKEN)

Features TODO

  • VC pings
  • Customizable time
  • Calculate time of next work session/break
  • Command and/or GUI to check remaining time
  • Slash commands

Attribution

A lot of the code using the Discord library came from mikeyhc/yshtola.

About

Simple discord pomodoro bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0