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
-
Install Golang following the official guide: https://golang.org/doc/install.
-
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
-
Open the main.go
file in a text editor.
-
Locate the following lines:
const (
token = "YOUR_BOT_TOKEN"
sudo = 144444444
)
-
Replace YOUR_BOT_TOKEN
with the token obtained from BotFather when you created your bot.
-
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.