Discord::Pomodoro
- Discord::Pomodoro is a simple pomodoro bot for discord.
- It sounds a chime on the specified voice channel
- at **:00 (meaning "Pomodoro Start")
- at **:50 (meaning "Breaktime Start")
Requirements
- Discord bot token & invite the bot to your server
- Discord voice channel id
Usage
- Docker-compose way or Docker way is recommended because
- it's the easiest to boot
- it does not pollute your local environment
Docker-compose way
git clone https://github.com/megane42/discord-pomodoro.git
cd discord-pomodoro
echo DISCORD_POMODORO_DISCORD_BOT_TOKEN=****** >> .env
echo DISCORD_POMODORO_DISCORD_VOICE_CHANNEL_ID=****** >> .env
docker-compose run --rm app
Docker way
export DISCORD_POMODORO_DISCORD_BOT_TOKEN=******
export DISCORD_POMODORO_DISCORD_VOICE_CHANNEL_ID=******
docker run --rm -it megane42/discord-pomodoro
Rubygems way
sudo apt-get install libsodium-dev libopus-dev ffmpeg
gem install discord-pomodoro
export DISCORD_POMODORO_DISCORD_BOT_TOKEN=******
export DISCORD_POMODORO_DISCORD_VOICE_CHANNEL_ID=******
discord-pomodoro
Development
- Run console
docker-compose run --rm dev
- Run current gem
docker-compose run --rm dev discord-pomodoro
- Release
-
emacs CHANGELOG.md
emacs lib/discord/pomodoro/version.rb
bundle exec rake release
-
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/megane42/discord-pomodoro.
License
The gem is available as open source under the terms of the MIT License.
Sounds
OtoLogic (CC BY 4.0) https://otologic.jp (Shortbridge17-1.mp3)