main file
unknown
python
2 years ago
353 B
14
Indexable
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")Editor is loading...