From c33b4fb4e5dca7d6c367742b0489671b8d7c093d Mon Sep 17 00:00:00 2001 From: bobloy Date: Mon, 4 Dec 2017 19:35:46 -0500 Subject: [PATCH] Access error --- reactrestrict/reactrestrict.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactrestrict/reactrestrict.py b/reactrestrict/reactrestrict.py index 5d6dc9a..1badb40 100644 --- a/reactrestrict/reactrestrict.py +++ b/reactrestrict/reactrestrict.py @@ -209,6 +209,10 @@ class ReactRestrict: pass except AttributeError: # VoiceChannel object has no attribute 'get_message' pass + except discordForbidden # No access to channel, skip + pass + + return None