Skip to content

mrcentimetre/gpytranslator-bot

Repository files navigation

Gpytranslator Bot

Pyrogram translate bot using GpyTranslate Library

  GpyTranslate is a word 'G+Py+Translate' which means 'Google Python Translate'. A bot to help you translate text (with emojis) to a language from any other language in world.

Features

  • Supports in groups
  • Works with Inline
  • Supports emoji
  • Free to use
  • Easy

Installation

Clone the repository:

git clone https://github.com/mrcentimetre/gpytranslator-bot.git && cd gpytranslator-bot

Install the requirements

pip3 install -U -r requirements.txt

Edit the API_ID and API_HASH and TOKEN in config.py.example Example:

--API_ID >> 1
--API_HASH >> abcdef1234
--TOKEN >> 1234567890:ABCDEF
--sudousers >> [123456, 654321]

change the name of config.py.example to config.py

cp config.py.example config.py

Run the bot

python3 main.py

Credit

Inspiration
Development & contribution

License

This software is licensed under MIT License, with the following exceptions

MIT License

Copyright (c) 2021 Mr Centimetre

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Pyrogram translate telegram bot using GpyTranslate Library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages