main file
python
24 days ago
353 B
4
Indexable
Never
import discord from discord.ext import commands intents = discord.Intents.default() bot = commands.Bot(command_prefix='!', intents=intents) @bot.event async def on_ready(): print(f"Logged in as {bot.user.name}#{bot.user.discriminator}") @bot.event async def setup_hook(): await bot.load_extension("cogs.greetings") bot.run("token")