Skip to content

MehradMilan/Rayanesh-PR-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

117 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rayanesh-PR-Bot

Overview

This bot allows users to create new Google Docs in a shared folder, assign permissions to their Gmail, and track the created documents. All interactions are conducted in Persian.

Features

  • Create Google Docs from a template.
  • Share the document with the user's Gmail.
  • Track documents created by users to prevent duplication in the same folder.
  • Supports Persian language for user interactions.

Configuration

Create a conf.ini file in the root directory with the following format:

[TELEGRAM.BOT]
TOKEN = YOUR_TELEGRAM_BOT_TOKEN

[GOOGLE.API]
CREDS_PATH = path_to_your_service_account_credentials.json
SCOPES = https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/documents

[GOOGLE.DRIVE]
ONGOING_FOLDER_ID = YOUR_FOLDER_ID
TEMPLATE_DOC_ID = YOUR_TEMPLATE_DOC_ID

[IMDB.API]
TOKEN = YOUR_IMDB_API_TOKEN

Note: You should get your IMDB token from https://collectapi.com. It has a free subscription plan of 1000 requests per month.

Usage

  1. Start the bot with /start.
  2. Create a new document using /send_text.
  3. Select a folder and provide your Gmail.
  4. The bot will create a new document and share it with your Gmail.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages