Skip to content

Commit

Permalink
[Reddit] clarify token instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
TrustyJAID committed Sep 7, 2020
1 parent 2a933fb commit a4b75b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion reddit/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"disabled" : false,
"end_user_data_statement" : "This cog does not persistently store data or metadata about users.",
"hidden" : false,
"install_msg" : "Thanks for installing 1. Go to https://www.reddit.com/prefs/apps and select create another app...\n2. Give the app a name and description, specify that it's a script\n3. In the developed apps section under the apps name you provided before below `personal use script` copy that into `<client_id>`\n4. In the app box where it says `secret` copy the code after into `<client_secret>` if you don't see this click the edit button\n5. Fill out the rest of the following command with your accounts username and password\nNOTE: If you have 2FA enabled on your account this will not work, I'd recommend creating a new reddit account specifically for the bot if that's the case.\n`[p]set api reddit username <username> password <password> client_id <client_id> client_secret <client_secret>`",
"install_msg" : "Thanks for installing 1. Go to https://www.reddit.com/prefs/apps and select create another app...\n2. Give the app a name and description, specify that it's a script\n3. In the developed apps section under the apps name you provided before below `personal use script` copy that into `<client_id>` Use `https://127.0.0.1` or `https://localhost` for the redirect url.\n4. In the app box where it says `secret` copy the code after into `<client_secret>` if you don't see this click the edit button\n5. Fill out the rest of the following command with your accounts username and password\nNOTE: If you have 2FA enabled on your account this will not work, I'd recommend creating a new reddit account specifically for the bot if that's the case.\n`[p]set api reddit username <username> password <password> client_id <client_id> client_secret <client_secret>`",
"max_bot_version" : "0.0.0",
"min_bot_version" : "3.1.8",
"min_python_version" : [
Expand Down
2 changes: 1 addition & 1 deletion reddit/reddit.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ async def creds(self, ctx: commands.Context):
"1. Go to https://www.reddit.com/prefs/apps and select create another app...\n"
"2. Give the app a name and description, specify that it's a script\n"
"3. In the developed apps section under the apps name you provided before below `personal use script` "
"copy that into `<client_id>`\n"
"copy that into `<client_id>` Use `https://127.0.0.1` or `https://localhost` for the redirect url.\n"
"4. In the app box where it says `secret` copy the code after into `<client_secret>` if you don't see this click the edit button\n"
"5. Fill out the rest of the following command with your accounts username and password\n"
"NOTE: If you have 2FA enabled on your account this will not work, I'd recommend creating a new reddit "
Expand Down

0 comments on commit a4b75b6

Please sign in to comment.