why did they call the song rule #34 if it has nothing to do with rule34
This commit is contained in:
parent
54b8bf4c59
commit
dec83f1513
4 changed files with 5 additions and 173 deletions
9
bot.py
9
bot.py
|
@ -41,8 +41,6 @@ from discord.ext import commands
|
|||
from discord import app_commands
|
||||
from discord import Colour, Embed, File, Interaction, Message
|
||||
from discord.abc import Messageable
|
||||
|
||||
from better_profanity import profanity
|
||||
from discord.ext import commands
|
||||
|
||||
from modules.volta.main import _, set_language
|
||||
|
@ -386,14 +384,11 @@ async def on_message(message: discord.Message) -> None:
|
|||
await bot.process_commands(message)
|
||||
return
|
||||
|
||||
if profanity.contains_profanity(message.content):
|
||||
return
|
||||
|
||||
if message.content:
|
||||
if not USERTRAIN_ENABLED:
|
||||
return
|
||||
formatted_message: str = append_mentions_to_18digit_integer(message.content)
|
||||
cleaned_message: str = preprocess_message(formatted_message)
|
||||
formatted_message: str = message.content
|
||||
cleaned_message: str = formatted_message
|
||||
if cleaned_message:
|
||||
memory.append(cleaned_message)
|
||||
message_metadata = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue