Git Product home page Git Product logo

birtdaybot's Introduction

birtdaybot

a gratuitously distributed discord bot that manages birthdays. Its like this so you can use multiple computers around your house to gurentee it stays up even if you shut off all but one.

operation

on first interaction each instance sends a response to find out what one is the fastest. The slower ones delete their replies. After that, it should be responsive and only respond once.

usage

to use it; create a bot using discord dev page, get a token from the discord dev page and set it to DISCORD_TOKEN in your environment, by adding export DISCORD_TOKEN= to your .profile. Then enable all of the privelidged gateway intents on the discord dev page, then use this link to invite it to your server. (FILL IN BOT ID): https://discord.com/api/oauth2/authorize?client_id=&permissions=57189942414928&scope=bot you will need to make a "BIRTDAY" (that is not a typo, thats just what it is.) role, and a birtday-bot channel. Also a birtday-bot-data channel which should be only visible to birtdaybot (though it doesnt have to be) now just make sure you have your token on all your machines and set the bash file to run on startup.

commands:

!mybday

check your current birthday in the file

!listbday

check the birthdays of every user

!nextbday

find out the next birthday

!getbday

find out the birthday of any user

!closestbday

find out whos birthday is closest to yours

!editbday

set your birthday, change it if you made a mistake, or remove it from the system.

birtdaybot's People

Contributors

jonathantippy avatar

Watchers

 avatar

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.