aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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__":
d>1-3/+3 2021-10-21Add useless files to .gitignoreAnInternetTroll3-1479987/+2 2021-10-21Merge #59 with the added change of 2 messages before spam is triggeredAnInternetTroll5-715/+1481364 2021-07-05fix run weblinksSkycloudd1-3/+7 2021-07-03Adjust cooldown to per user.Samot191-1/+1 2021-07-03ReformattingLuca Matei Pintilie4-39/+3235 2021-07-03Small fixesSamot191-14/+15 2021-07-02Add support for boomersSamot191-11/+11 2021-06-24Readd stuff that was there.Samot191-2/+23 2021-06-24Add the caller's place on the fair leaderboard Samot191-26/+72 2021-05-24Remove conflicting commandaninternettroll1-48/+0 2021-05-24Add user-agent for xboxuser commandaninternettroll1-1/+3 2021-04-04Minor changesAnInternetTroll1-5/+17 2021-04-04ReformattingAnInternetTroll2-32/+48 2021-04-01Update utils.pySamot191-1/+1 2021-04-01Fair Leaderboard Samot191-8/+53 2021-03-26+ Fix "shut" emojiAhmad Ansori Palembani1-1/+1 2021-03-23Fix typo, add punctuation, and make wording clearer.Samot191-7/+7 2021-03-21Get only the queue, not everythingrandomidiot131-1/+1 2021-03-21Add !queuerandomidiot131-0/+44 2021-03-20remove embed from run rejection messageSkycloudd1-1/+1 2021-03-16hopefully fixed the ultraxd thingSkycloudd1-1/+1 2021-03-05Tabs to spacesMango0x451-526/+541 2021-03-05Educate new members on input rulesMango0x451-535/+526 2021-02-28Make !pending not max out at 200 runs per gamerandomidiot131-5/+16 2021-02-27Update aiohttp due to security vulnerabilityMango0x452-1/+2 2021-02-24Make !verified asynchronousAnInternetTroll2-38/+36 2021-02-20Add verified commandrandomidiot131-0/+45 2021-02-13Whitelist coop all bosses when rejecting spamMango0x451-1/+1 2021-02-13Remove useless importsMango0x454-6/+1 2021-02-13Add better spam preventionMango0x451-15/+22 2021-02-13Remove useless dependenciesMango0x451-10/+8