diff options
author | Skycloudd <51929172+Skycloudd@users.noreply.github.com> | 2022-08-30 19:00:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 19:00:54 +0000 |
commit | 9d7563a24d952b7e70c61eac5c70d75e14f8e1d4 (patch) | |
tree | 282534c2a98383f6173c7f243ee4e79d968db707 /bot.py | |
parent | 3463ce9fdd66ef0add1603e539bc748b8ab515d2 (diff) | |
download | steve-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-x | bot.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |