Skip to content

Discord bot made for checking Vélib' stations availability.

License

Notifications You must be signed in to change notification settings

totocptbgn/Velibot

Repository files navigation

Banner

Discord bot made for checking Vélib' stations availability. Only in french. Made with discord.js. Website available : https://velibot.fr.

Deploy on your computer

Setup tokens to connect to the Discord API : Create the file config.json and add your bot tokens :

{
    "token": "BOT_TOKEN_HERE",
    "applicationId": "APPLICATION_ID_HERE"
}

Dependencies installation :

npm install 

Declare commands to the Discord API :

node deploy-commands.js

Start the bot :

node .

Data analysis - Work In Progress

Gather data from Vélib' API, save every 10 min stations data in data/data.csv:

node data_loader.js

To read the data, use the notebook data_analysis.ipynb.

About

Discord bot made for checking Vélib' stations availability.

Topics

Resources

License

Stars

Watchers

Forks