Skip to content
/ discord-liftie-bot Public template

Retrieve ski area lift status and display them in Discord with a command, using data from liftie.info

License

Notifications You must be signed in to change notification settings

LiorMad/discord-liftie-bot

Repository files navigation

discord-liftie-bot

Relying on https://github.com/pirxpilot/liftie, this Discord bot is able to retrieve ski area lift status and display them in Discord with a command.

The bot is ready to be containerized with a Dockerfile and be worked on using Devcontainer.

Very much WIP, and for fun.

The concept is to "cache" https://liftie.info every 30 minutes to avoid loading their website, using fetch_lift_status_from_liftie.py.

It downloads information to data/lifts_status.json.

Of course, you will need your own BOT_TOKEN in some .env file, in the following format:

BOT_TOKEN=YOUR_TOKEN_FROM_discord.com/developers/applications

Then, liftie-bot.py simply responds to (slash commands) /lift <resort> commands and autocompletes them.

For example:

/lifts and start typing loaf, the bot will filter all resorts with loaf, such as sugarloaf.

About

Retrieve ski area lift status and display them in Discord with a command, using data from liftie.info

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published