Skip to content

This codebase is of Dartbot running on python3 with an sqlite database. it can be used for capturing and preserving data associated with dice transmitted within group chats on Telegram.

License

Notifications You must be signed in to change notification settings

Namithesh/Telegram-TheDartbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TheDartbot

This codebase is of Dartbot running on python3 with an sqlite database. it can be used for capturing and preserving data associated with dice transmitted within group chats on Telegram.

Table of Contents

Running with Docker

  • Install docker from here

  • Clone the repo

git clone https://github.com/HyperNB/Telegram-TheDartbot.git
  • Build and run docker image
docker build ./Telegram-TheDartbot -t dart && docker run -v ./Telegram-TheDartbot:/dart -d --name=dart --restart unless-stopped dart

Running Locally

  • Clone the repo
git clone https://github.com/HyperNB/Telegram-TheDartbot.git
  • Install Python dependencies
pip3 install -r requirements.txt
  • Run the script
python3 dart.py

Configuration

create .env file in root path and inside .env add bot token and your id

BOT_TOKEN="12345567890"
OWNER="YOUR ID HERE"

Contributing

First of all, thank you for considering contributing! 🎉

How Can You Contribute?

  • Report Bugs: If you encounter any issues, please use the GitHub issue tracker to report them.

  • Request Features: Feel free to use the issue tracker to suggest new features or improvements.

  • Contribute Code: If you want to contribute code, please fork the repository, create a feature branch, and submit a pull request.

License

See the LICENSE.md file for details.

About

This codebase is of Dartbot running on python3 with an sqlite database. it can be used for capturing and preserving data associated with dice transmitted within group chats on Telegram.

Topics

Resources

License

Stars

Watchers

Forks