added moderation for prefix & pretend & messages

This commit is contained in:
Paillat
2023-03-06 14:32:44 +01:00
parent 64f3d01860
commit ec844b23b3
4 changed files with 65 additions and 28 deletions

View File

@@ -2,10 +2,8 @@
# wesh wesh ici latouff
import discord # pip install pycord
from discord import Intents
import asyncio # pip install asyncio
import cogs # import the cogs
import datetime # pip install datetime
from config import debug, conn, c, discord_token
from config import debug, discord_token
#add the message content intent to the bot, aka discord.Intents.default() and discord.Intents.message_content
intents = discord.Intents.default()
intents.message_content = True
@@ -28,4 +26,4 @@ bot.run(discord_token) # run the bot
@bot.event
async def on_ready():
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name="your messages to answer you"))
debug("Bot is ready")
debug("Bot is ready")