Skip to content

nileshpatra/Org-manage-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Org-manage-bot

  • This is a telegram bot which an organization can use to manage their group.
  • It has the following features:
    • Schedule a meeting
    • Know the latest meeting
    • Get all the social media accounts in one go
    • Send company Logo
    • Add new handles and logos
    • Remove user
    • Filter a particular keyword and replies to the keyword when it finds that
    • Get replies whenever filtered text is encountered
    • Get Animated version of text on calling thonkify (Some of the code has been referred from skittlesbot)

Testing the bot

  • In order to test the bot, generate a token for your own bot with botfather
  • Copy-Paste the token that you were allotted inside the token variable in config.ini file
    • For instance if the token generated is xyz, you should replace token=xyz, the file should look like:
     [telegram]
     token=xyz
    
  • Do refer to this link to create your own instances of bots, and test the code.

To run in development mode:

  • First make a virtual environment with: virtualenv -p python3 <name_for_virtualenv>
  • Activate the virtualenv with source <name_of_virtualenv>/bin/activate
  • Now, install the requirements using pip3 install -r requirements.txt
  • You are good to go! Directly run the script with:
     python3 tgbot.py
    

Here is a video detailing the setup. Although it is not completely consistent with the current state of the repository, but it serves its purpose well. Do refer the rest of the readme as well

Also, for Anaconda users, Please Refer for basics of adding packages to environment.:)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages