aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbot.py6
-rwxr-xr-xmain.py4
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__":