diff --git a/bot_newest_version/config_exmaple.py b/bot_newest_version/config_exmaple.py index 184cba9..ea29e22 100644 --- a/bot_newest_version/config_exmaple.py +++ b/bot_newest_version/config_exmaple.py @@ -1,3 +1,7 @@ + +#bot will use a file named config.py, this is just an exmaple, the file needs to be created as well as a file named susbot_token.txt with just the bots token + + slova = ["parek"] #words to count in the main channels sus_responses = ["it's getting sus here", "sus", "you are sussy", "sussy baka", "that is kinda sus", "that is sus", "you're seeming sus lately", "seems sus", "SUS", "gobus amogus", "amongsus", "sussy ah", "sussy"] #variety of responses when sus detection diff --git a/bot_newest_version/susmain3.py b/bot_newest_version/susmain3.py deleted file mode 100644 index c9834e2..0000000 --- a/bot_newest_version/susmain3.py +++ /dev/null @@ -1,319 +0,0 @@ -import discord, time, random, os -from discord.ext import commands, tasks -from config import slova, sus_responses, greetings, main_channels_ids, bot_messages, bot_reply_messages - -t_h = 0 -t_s = 0 - - -intents = discord.Intents.default() -intents.message_content = True -intents.members = True -client = commands.Bot(command_prefix = '~', intents=intents) - -############################################################################################################## -##################################### COMMNADS AND FUNCTIONS SCRIPTS ######################################### -############################################################################################################## -async def chat_participation(): #randmonly sends messages into main channels - for idd in main_channels_ids: - channel = client.get_channel(idd) - - members = channel.members - members_ids = [] - for member in members: - members_ids.append(member.id) - members_ids.remove(client.user.id) - rnid = random.choice(members_ids) - - msg = (random.choice(bot_messages)).strip() - - if "@random" in msg: - msg = msg.replace("@random", f"<@{rnid}>") - - if "