Giter VIP home page Giter VIP logo

sleep-bot's Introduction

Sleep-Bot

A discord bot that tracks sleep and creates habit with gamification.

Docs

$setup <timegoal [HH:MM]> <timezone [+/-HH:MM]>

This is probably the only confusing command. Timegoal represents when you want to wake up in 24 hour time (ie 05:00 would be 5am). Timezone represents your offset relative to UTC. For example, IST is +5.30 ahead of UTC, so the timezone would be +05:30. EST would be -05:00 etc. An example of the full command: $setup 05:00 +05:30

$reset

Resets your goal, This will also remove your streak. Once you have reset you will need to use $setup again.

$leaderboard

View the leaderboard ranked by longest active streak.

$mystats

View your stats including current streak, current goal, target goal and timezone.

$site

View a live version of the leaderboards, along with help on: NeuralWorks Sleep Bot Site

Setup

  • venv (optional)
  • pip install -r "requirements.txt"
  • Setup mongoDb
  • Fill out env (rename to .env)

open to all pull requests!

sleep-bot's People

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.