Rexter is a Twitter Bot whoch retweets and likes all tweets related to MCoC.
You can just tweet by mentioning the Official Twitter Handle of either Rexter itself or of the Contest of Champions. You can also mention any of the following-
- #ContestofChampions
- #MCoC
To self host the Bot, do the following.
-
Clone the repo.
-
git clone https://github.com/Rexians/Rexter.git
-
-
Create a Twitter Bot
- Create a Twitter Developer Account here.
- Create a project and an app in it.
- Apply for Elevated Access.
- Enable OAuth 2.0 and 1.0a with read and write permissions.
- Generate Access Key and Token for the app created above.
- Copy all the details including Consumer Keys and Authentication Tokens.
-
Create a .env
- Add all the tokens and keys like this:
API_KEY = API_KEY_SECRET = ACCESS_TOKEN = ACCESS_TOKEN_SECRET = BEARER_TOKEN = CLIENT_ID = CLIENT_SECRET =
-
Install Tweepy module:
-
pip install tweepy
-
-
Run the app.py
For contribution guidelines please refer to the Contributing.md