[Owner] Removed [p]join's accept_invite functionality

The endpoint that accept_invite makes use of is no longer safe due to Discord's antispam measures.
This commit is contained in:
Twentysix
2017-04-12 02:32:04 +02:00
parent 1577e7d854
commit 7820319a6a
2 changed files with 7 additions and 28 deletions

1
red.py
View File

@@ -69,6 +69,7 @@ class Bot(commands.Bot):
self._shutdown_mode = None
self.logger = set_logger(self)
self._last_exception = None
self.oauth_url = ""
if 'self_bot' in kwargs:
self.settings.self_bot = kwargs['self_bot']
else: