From 7f15747e7689b9bc58105cc909f0d8b95081fbd9 Mon Sep 17 00:00:00 2001 From: AnInternetTroll Date: Wed, 6 May 2020 12:36:50 +0100 Subject: hiding my tracks :eyes: --- bot.py | 6 ++++-- main.py | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index b4cc0b4..cace1d1 100755 --- a/bot.py +++ b/bot.py @@ -11,7 +11,7 @@ extensions = [ "cogs.admin" ] -class CelesteBot(commands.Bot): +class BedrockBot(commands.Bot): def __init__(self): super().__init__(command_prefix='/') @@ -46,9 +46,11 @@ class CelesteBot(commands.Bot): badWords = ["fair", "f a i r", "ⓕⓐⓘⓡ", "ⓕ ⓐ ⓘ ⓡ"] if message.channel.id == 589110766578434078: + count = 0 for word in badWords: if word in message.content.lower(): - await message.channel.send('Fair') + count += 1; + await message.channel.send('Fair '*count) await self.process_commands(message) diff --git a/main.py b/main.py index e7f0816..56e341b 100755 --- a/main.py +++ b/main.py @@ -3,7 +3,7 @@ import logging from colorama import init as init_colorama -from bot import CelesteBot +from bot import BedrockBot def setup_logging(): @@ -25,7 +25,7 @@ def setup_logging(): def run_bot(): - bot = CelesteBot() + bot = BedrockBot() bot.run() if __name__ == "__main__": -- cgit v1.2.3