Anti Bullying Twitterbot
HuskyBot is a twitterbot that monitors the tweets and direct messages sent to you on twitter and detects abusive and bullying tweets and messages. If any such incident is detected, husky sends a direct message to that user on your behalf and warns them not to bully you.
You need to create a new twitter application in order to deploy this bot. Follow these steps to do the same:
Go to https://apps.twitter.com and sign in to your twitter account. Now click on "Create New App".
Enter a name in the Application Details (It can be anything). Enter https://my.example.com in the Website field
Accept the Developer Agreement and click on "Create Your Twitter Application"
Now go to permissions tab. Set Access to Read, Write and Access direct messages and click on "Update Settings"
Go to the Keys and Access Tokens tab. Copy the Consumer Key. Now open the credentials.py file and paste at the consumer key (replacing the Xs)
Do the same with Consumer Secret
Now scroll down and click on "Create my access token"
Now your Access Token and Access Token Secret have been generated, paste them to the credentials.py file
All you need to run the bot is to run the bully_reply.py file and all who bullied you will be sent a Warning in the form of a direct message.