random changed to rand to use different name from import library
removed unused import
Prevented use of undefined reddit object
Simplified get_random_posts
Fixed some linter errors
The while true in main was removed. This was done because a while true is active waiting which indefinitly blocks the used CPU Thread. Which the change to a stream the Script only uses CPU Time when a new message is received.
random changed to rand to use different name from import library removed unused import Prevented use of undefined reddit object Simplified get_random_posts Fixed some linter errors
The while true in main was removed. This was done because a while true is active waiting which indefinitly blocks the used CPU Thread. Which the change to a stream the Script only uses CPU Time when a new message is received.