aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
authorSkycloudd <51929172+Skycloudd@users.noreply.github.com>2022-08-30 19:00:54 +0000
committerGitHub <noreply@github.com>2022-08-30 19:00:54 +0000
commit9d7563a24d952b7e70c61eac5c70d75e14f8e1d4 (patch)
tree282534c2a98383f6173c7f243ee4e79d968db707 /bot.py
parent3463ce9fdd66ef0add1603e539bc748b8ab515d2 (diff)
downloadsteve-bot-9d7563a24d952b7e70c61eac5c70d75e14f8e1d4.tar
steve-bot-9d7563a24d952b7e70c61eac5c70d75e14f8e1d4.tar.gz
steve-bot-9d7563a24d952b7e70c61eac5c70d75e14f8e1d4.tar.bz2
steve-bot-9d7563a24d952b7e70c61eac5c70d75e14f8e1d4.tar.lz
steve-bot-9d7563a24d952b7e70c61eac5c70d75e14f8e1d4.tar.xz
steve-bot-9d7563a24d952b7e70c61eac5c70d75e14f8e1d4.tar.zst
steve-bot-9d7563a24d952b7e70c61eac5c70d75e14f8e1d4.zip
update to discord.py==2.0.1 (#66)
Diffstat (limited to 'bot.py')
-rwxr-xr-xbot.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot.py b/bot.py
index 44be5f3..edc6dd0 100755
--- a/bot.py
+++ b/bot.py
@@ -74,14 +74,13 @@ class BedrockBot(commands.Bot):
self.runs_blacklist = {"videos": [], "players": []}
for extension in extensions:
- self.load_extension(extension)
+ await self.load_extension(extension)
self.logger.warning(
f"Online: {self.user} (ID: {self.user.id}) (Discord.py: {discord.__version__})"
)
async def on_message(self, message):
-
if message.author.bot or message.author.id in self.blacklist:
return
await self.process_commands(message)