Skip to content

tm-sah/tashkeel-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Telegram Bot for Tashkeel Arabic Text

This is a Telegram Bot written in Golang that adds Tashkeel to Arabic text to make it visually appealing. This README will guide you through the steps required to install and configure the bot.

Requirements

  • Golang
  • gopkg.in/telebot.v3 package
  • Sudo ID (owner ID)
  • Bot token

Installation

  1. Install Golang following the official guide: https://golang.org/doc/install.

  2. Install the gopkg.in/telebot.v3 package using the following command:

go get gopkg.in/telebot.v3

Configuration

Before running the bot, you need to configure the bot token and the sudo ID. Follow the steps below: 0. Write in terminal:

go mod init bot
  1. Open the main.go file in a text editor.

  2. Locate the following lines:

const (
    token   = "YOUR_BOT_TOKEN"
    sudo  = 144444444
)
  1. Replace YOUR_BOT_TOKEN with the token obtained from BotFather when you created your bot.

  2. Replace 144444444 with your Telegram user ID. You can get your ID by messaging the @userinfobot on Telegram.

Bot Admin Panel

This bot includes an admin panel to control its functionality. To access send /admin.

License

This project is licensed under the MIT License.

About

A GOlang bot, can make Arabic Text more readable and pretty.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages