mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16:19 +00:00
Update code.py
This commit is contained in:
@@ -9,7 +9,6 @@ from config import debug, conn, c # import the debug function and the database c
|
|||||||
#add the message content intent to the bot, aka discord.Intents.default() and discord.Intents.message_content
|
#add the message content intent to the bot, aka discord.Intents.default() and discord.Intents.message_content
|
||||||
intents = discord.Intents.default()
|
intents = discord.Intents.default()
|
||||||
intents.message_content = True
|
intents.message_content = True
|
||||||
intents.members = True
|
|
||||||
import apsw # pip install apsw. ApSW is a Python interface to SQLite 3
|
import apsw # pip install apsw. ApSW is a Python interface to SQLite 3
|
||||||
bot = discord.Bot(intents=intents, help_command=None) # create the bot
|
bot = discord.Bot(intents=intents, help_command=None) # create the bot
|
||||||
bot.add_cog(cogs.Setup(bot))
|
bot.add_cog(cogs.Setup(bot))
|
||||||
|
|||||||
Reference in New Issue
Block a user