A Twitter bot for posting every word of Shakespeare at an interval of time.
- Splits any body of text into words
- Uses the Twitter API to make posts
- Highly customizable
- Clone the Repository:
git clone https://github.com/0xSpai/ShakespeareBot.git
- Install Dependencies
pip install -r requirements.txt
- Set up API keys:
Create a new file called keys.py
and enter the following code:
api_key = ''
api_key_secret = ''
bearer_token = ''
access_token = ''
access_token_secret = ''
Visit https://developer.x.com/
and sign up for a developer account. Fill the relevant fields with your API tokens.
Important
Ensure these keys are kept private. If leaked, they could be used to write/read on your account.
- Run the Project:
python bot.py
Distributed under the GNU General Public License. See LICENSE.txt
for more information.