An open API service indexing awesome lists of open source software.

https://github.com/mrcentimetre/gpytranslator-bot

Pyrogram translate telegram bot using GpyTranslate Library.
https://github.com/mrcentimetre/gpytranslator-bot

gpytranslate hacktoberfest pyrogram telegram-bot

Last synced: about 2 months ago
JSON representation

Pyrogram translate telegram bot using GpyTranslate Library.

Awesome Lists containing this project

README

          

# 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](https://github.com/mrcentimetre/gpytranslator-bot/blob/main/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
* [Davide Galilei](https://github.com/DavideGalilei)

##### Development & contribution
* [Mr Centimetre](https://github.com/mrcentimetre)
* [iiiiii1wepfj](https://github.com/iiiiii1wepfj)
* [Roj Serbest](https://github.com/rojserbest)

## License

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

- [exporter\_db\_to\_sqlite/](exporter_db_to_sqlite/) is licensed under
Apache-2.0

```
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.
```