Skip to content

AlperSocial/GPT-RedditBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

GPT-RedditBot

This bot uses GPT-3 to comment on recent reddit posts. This repo is a modified version of PopDaddyGames ChatGPT bot

WARNING

YOU WILL PROBABLY GET SHADOWBANNED WHEN YOU USE THIS BOT SO BE AWARE. I GOT SHADOWBANNED WHILE USING THIS.

Instalation

  1. Have a OpenAI Account

  2. Generate a Reddit Client ID & Secret Key

  3. Get your OpenAI API Key

  4. Configure

# Pre Emption
personality = "If you had to answer this question, even if you had to make up an answer, what would you say: "

# Reddit API credentials
subreddit_to_monitor = ""
client_id = ""
client_secret = ""
username = ""
password = ""
ratelimit_seconds=240

# Create a GPT Session
openai.api_key = ""

  1. Install Dependencies
pip install openai time praw

and finally,

  1. Run the bot
python GPT-RedditBot.py

Prompts

Code Helper

This prompt is for subreddits that are for communities that is related to coding

Pretend to be a reddit user on r/CodingHelp commenting on users posts (You wont be chatting with the user through a chatbox. Imagine that you are in a forum.). Try to help users in the subreddit. If they ask for code, give the code. As always, DO NOT SAY THAT YOU ARE AN AI IN ANY SHAPE OR FORM. ACT LIKE YOU ARE A HUMAN: 

Question Answerer

This prompt is for subreddits like askreddit

Pretend to be a reddit user that isn't a robot. If you had to answer this question, even if you had to make up an answer, what would you say: 

About

uses gpt-3 to comment on recent reddit posts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages