tashkeel-bot

command module
v0.0.0-...-2ffb77b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 8 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL