[GTT-Event-Bot]](https://telegram.me/)
GTT-Event bot is a elegram bot which designed to gather details of various events occuring across the world. You can submit your event to the bot and it will automatically post it to the event channel on telegram and various other social media platforms
To use the bot you simply have to send below mentioned commands as text message.
/start - initial command to begin talking to the bot
/help - to get help, report bug and contribute
/submit - to submit your event
The sole purpose of this bot is to get following details from the organiser about the event.
- Event Type - #meetup
- Event Name - TechTalk Meetup #1
- Organised by - GlobalTechTalks
- Event Description - Virtual meetup on Cloud technologies
- Event day & date - Thursday, 01 January 1970
- Event time - 10am to 5pm
- Venue - HackerSpace Noida
- RSVP or Registration Link - https://meetup.com/GlobalTechTalks
- Contact Person - Mr Udit
- Email Id - contact@techtalk.co.in
- Phone No - 0123456789
- Keywords - #globaltechtalks #techtalk #meetup #event
You need Python 3 and PIP installed for this to work
- Fork the repo to your profile
git clone link-to-repo.git
- Clone your copy of this repo to your local machinecd gtt-event-bot
- Move to the repo folder- Install
pipenv
by runningpip install pipenv
- Initialize the Python 3 environment by running
pipenv --three
pipenv install -r requirements.txt
- install dependencies- Create a new bot using Botfather
- Replace
Telegram-Bot-Token
with the token you get from Botfather inconfig.txt
file - Create a channel and make it public to get the username e.g. @mychannel
- We need unique ID of this channel, to get that first add your bot as administrator to the channel you just created
- Run
pipenv run python getid.py
and sendtest
to the channel - The channel ID will be printed onto the terminal
- Replace this unique ID with
Channel-Id
inconfig.txt
file - Now run
pipenv run python eventbot.py
- You can now use commands mentioned above in
How To Use
section
- Create an issue in case you find one with the bot. Please mention how you got to that issue in brief.
- Fork this repo and create a feature/bug branch and make your changes to that.
- Create PR from feature/bug branch to master of this repo.