/r/BotHelp

Photograph via snooOG

Need help writing a bot for the reddit API?

Need help writing a bot for the reddit API? You've come to the right place!

Feel free to:

  • Ask about problems you're having, or general questions about bot building.

  • Show off your projects or tips and tricks, and get feedback!

Our neighbours

Want flair?

Have you made any helpful reddit bots?

If they're either in use on reddit or the source code is available, message the mods to have them added to your flair!

Please include a link to an introductory post by you or other proof.

Rules

  1. No questions about or demonstrations of spam bots, bots which mass-upvote/downvote, user agent forgery or other stuff banned by reddit's API.

  2. No meta posts (posts about the community itself), except by mods.

  3. NO BOT POSTS, some comments are fine but no spam. Try /r/botcirclejerk to test yours out.

  4. Do NOT PM the mods. Use modmail. We will temp ban you if you PM the mods.

/r/BotHelp

68 Subscribers

1

Getting Chatgpt integrated into Google Chat. Using Google Cloud

I am really trying to get OpenAI into my business to serve as an assistant that gives my employees information about the company. I have uploaded vectors to Pinecone and I can not figure out how to get my bot to communicate with it. I am using Google Cloud functions. I want to try and get my bot integrated into google chat as chat bot. I have tried to use RAG to help with this but I can't get it to work. My hope is that It can also use real time data to respond with current events to keep in flexible in how it is used. I am a complete novice to all of this so I have minimal knowledge. I have used a youtube guides and then chatgpt to help me figure this out and nothing has worked. Pleas help. My logs do not provide me much information at all. I would love a detailed guide to get this accomplished or some direction. Thank you!!

0 Comments
2024/10/27
06:10 UTC

0

I need help inputting a bot.

I have all of the code, but don't know how to use it. Do I create a new user to be the bot? If so, what then?

0 Comments
2023/05/11
11:55 UTC

1

[Hiring] Need a bot to take removed comments or submissions and send a message to the user removed.

I will pay a lil bit for someone to build a bot that takes removed submissions and comments using https://www.reveddit.com and send them a general message to come join another Reddit sub.

2 Comments
2021/12/09
07:37 UTC

1

I want to make a bot that auto comments on links to a certain sub [r/SponsoredByRMemes]

Nuff Said

1 Comment
2020/11/19
21:27 UTC

2

Not sure if this will be seen, but my bot just randomly stopped replying to comments like it was. Not sure what happened, if some one could look at my code and help that would be great

import praw
import config
import time

def bot_login():
	print ("Loggin in...")
	r = praw.Reddit(username = config.username,
			password = config.password,
			client_id = config.client_id,
			client_secret = config.client_secret,
			user_agent = "Dude800900's reddit bot")
	print("Logged in!")

	return r

def run_bot(r):
	print ("Obtaining 25 comments...")
	for comment in r.subreddit("test").comments(limit=25):
		if "test" in comment.body and comment.id not in replies and not comment.author == r.user.me():
			print ("Comment Found " + comment.id)
			comment.reply("This Test Worked!")
			print ("Replied to comment " + comment.id)

			replies.append(comment.id)

	
	#Sleep for 10 seconds...
	time.sleep(2)
def get_saved_comments():
	with open("replies.txt", "r") as x:
		replies = x.read()
		replies = replies.split("\n")

		return replies

r = bot_login()
replies = get_saved_comments()
print("replies")

while True:
	run_bot(r)
2 Comments
2020/07/10
06:20 UTC

1

BOT HELP

I’m new to bots and I’m trying to add one that posts when a YouTuber uploads. I want to use ChannleBot but I don’t know what to do. I’m on chrome book and went to wiki pages but I’m very considered on what to do. How do I add channel bot to my Reddit.

0 Comments
2020/06/05
14:11 UTC

1

BOT HELP

I am new at the bot thing, and I am looking for a bot that does funko stores like, funko shop, target, hot topic, boxlunch etc. You get the point. I do not do sneakers & such. I received a lifetime bot for free which works really good from what I can see but it is for sneakers, supreme clothing etc. Not a focus on what I need it for. Does anyone know what bot I should be looking into for my needs? I tried to look into buying one just do not know where to get what I need at a good price.

0 Comments
2020/06/01
16:39 UTC

1

Need help installing PRAW.

The command

python install PRAW

does not work via cmd or python's cmd, or IDLE. I am using Windows 7. Please help.

0 Comments
2020/05/19
12:43 UTC

1

[META]New Mod, hoping to grow this community

I found this place because I was hoping to get help because I don't know anything about bots. But it was dead and no mods, so I requested it.

I'm hoping to resurrect it, and also to learn about bots in the process.

I would appreciate any and all input, plus I'll try to start reaching out to other communities to get some exposure soon. :)

Also, if anyone wants to join the mod team, let me know via modmail.

3 Comments
2020/02/20
13:23 UTC

1

I am new to bots and am semi fluent in python basics and learning c# any good

Tutorials you can link me too anything will help

0 Comments
2018/06/30
18:10 UTC

1

Want to build a bot that responds when people say "DNA" in their comment.

I want to build a bot that responds with a response (that I haven't decided on yet) whenever it detects someone using the word "DNA" in their post or comment.

2 Comments
2018/04/17
21:35 UTC

1

Iso: A bot I saw that when you say "link please" it puts a picture of link (the main character) from the legend of zelda

0 Comments
2018/01/24
02:15 UTC

1

Reset Xbox one

I have to rest my Xbox because it keeps giving me something went wrong when I'm trying to go into network settings. I'm resetting it to not delete my games and apps will this delete my game progress aswell?

1 Comment
2018/01/23
18:50 UTC

1

Can bots be assigned to specific users?

I'm not at all knowledgeable about programming, but I was wondering if bots could be designed to respond to a specific keyword/keyphrase by a specific user.

0 Comments
2017/09/24
01:08 UTC

1

REQUEST - Need a bot to help run a weekly game thread in a college football sub.

Ideally, we would have it update with scores and stats from ESPN, but the thread itself can be used to post game information, etc.

0 Comments
2017/07/14
14:57 UTC

1

Request

This may be insane or against a rule, but could you guys make a bot that tells people to vote when they bitch about people in politics? I'm not a programmer, I'm just curious.

3 Comments
2017/05/13
20:50 UTC

0

THOBOT

I would really like it if somebody could make a "thobot" that just says "Tho tho?!" everytime somebody submits a comment that ends in "tho" or "Tho?" IE "That car tho" "yeah but what about dat ass tho"

Tho is hackneyed and I want people to stop overusing it. Thanks.

0 Comments
2014/03/28
21:04 UTC

1

If anyone can teach me how to build a bot I would greatly appreciate it.

I know how to read and write code in CSS and I was taught some python in a computer proggramming class in my junior year of high school, two years ago. If anyone has a website or proggram that teaches this, that is fine, but i learn better from a teacher. I want to build a bot for my sports sub. I'm guessing that it would work by fetching data like stats and game times from another site like ESPN. If I am wrong about how it would work it's only because I haven't learned yet. I'm eager to learn!

Thanks!

2 Comments
2014/03/21
04:33 UTC

1

Would anyone be interested in writing a bot for /r/KnowYourShit?

Would anyone be interested in writing a bot for /r/KnowYourShit?

A bot that would post the top post from four different subs every 12 hours or so.

Basically making a collection of the best of /r/howto, /r/lifeprotips, /r/todayilearned and /r/youshouldknow

1 Comment
2014/02/04
17:00 UTC

Back To Top