Skip to content

josevdr95new/SFLConversionBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFL Conversion Bot 🤖

Telegram bot for converting in-game items and currencies (SFL/USD) with real-time rates.

Requirements 📋

Quick Start 🚀

  1. Clone repo and install dependencies:
git clone https://github.com/josevdr95new/SFLConversionBot.git
cd SFLConversionBot
pip install -r requirements.txt
  1. Create a .env file in the root directory and add your Telegram bot token:
BOT_TOKEN=your_bot_token_from_BotFather
  1. Start the bot:
python -m sfl_bot.main

Getting a Telegram Bot Token 🔑

  1. Open Telegram and search for @BotFather
  2. Start a chat with BotFather and send /newbot command
  3. Follow the instructions to name your bot and create a username
  4. BotFather will provide a token - save this for your .env file
  5. Configure additional bot settings like description and commands using BotFather

Bot Commands Preview

Bot Commands Preview

Health Monitoring 🩺

The bot includes a health check endpoint to monitor its status and performance.

How to use the /ping endpoint:

  1. Ensure the bot is running
  2. Make a GET request to the /ping endpoint using either:
    • Web browser: http://localhost:8000/ping
    • Command line:
      curl http://localhost:8000/ping

Contributing 🤝

Contributions welcome! Please feel free to submit a Pull Request.

About

Free Render.com servers shut down and need manual restart

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages