-
Notifications
You must be signed in to change notification settings - Fork 10
Every plugin needs a seperate OAuth file. You can create an app on your main account here - and most importantly is setting the callback-url to http://127.0.0.1:65010/authorize_callback
. Now copy/paste the App Key and the App Secret and log in your browser with your bots account. Instantiate (by either running the core bot or the plugin itself) the plugin and while trying to authenticate, it will open the Reddit OAuth dialog. Accept it and the credentials (token, refresh token) are automatically added.
The most likely answer: One of your plugin loads on every trigger more data than what is in a PRAW Lazy Object.
I highly suggest you to read your praw-multiprocess
console - if it isn't loading most of the time between /r/[subreddit]/new.json?count=0&limit&after=t3_something
and /r/[subreddit]/comments/.json?count=0&limit=1024&after=t1_something
, then you most likely got trapped in lazy loading.