diff options
Diffstat (limited to '')
-rwxr-xr-x | bot.py | 4 | ||||
-rwxr-xr-x | custom_commands.json | 2 | ||||
-rwxr-xr-x | main.py | 4 |
3 files changed, 4 insertions, 6 deletions
@@ -63,9 +63,7 @@ class BedrockBot(commands.Bot): async def on_message(self, message): - if message.author.bot: - return - if message.author.id in self.blacklist: + if message.author.bot or message.author.id in self.blacklist: return await self.process_commands(message) diff --git a/custom_commands.json b/custom_commands.json index 3ea311b..736cda3 100755 --- a/custom_commands.json +++ b/custom_commands.json @@ -36,4 +36,4 @@ "!src": "https://www.speedrun.com/mcbe", "!mobiledupe": "1) place item to dupe in the crafting grid\n2) keep pressed until the green bar thing appears\nclick any \"Impossible\" craft (red ones)\n3)press the item to dupe (that is in your hotbar now -> it should have moved there since you pressed the impossible craft)\n4)your item should be duped", "!source": "https://github.com/AnInternetTroll/mcbeDiscordBot" -}
\ No newline at end of file +} @@ -29,9 +29,9 @@ def run_bot(): bot.run() if __name__ == "__main__": - + init_colorama(autoreset=True) setup_logging() - + run_bot() |