We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f38a5 commit 380b7e9Copy full SHA for 380b7e9
reddit-bot-2.py
@@ -0,0 +1,14 @@
1
+import praw
2
+
3
+reddit = praw.Reddit(
4
+ client_id="S48YmERmER0pz0oKgfzn3Q",
5
+ client_secret="GqRKs-RccRn5ckPzsjthtKoi3--paw",
6
+ user_agent="myBot/0.0.1",
7
+)
8
9
+reddit.user.me()
10
11
+reddit.subreddit("test").submit(
12
+ title="My first reddit bot",
13
+ selftext="Hello, I am a bot created by /u/RichardMiruka1234."
14
0 commit comments