File size: 354 Bytes
baa8e90 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import discord
from discord.ext import commands
intents = discord.Intents.default()
intents.message_content = True
discord_client = commands.Bot(command_prefix='!', intents=intents)
# Event handler for when the bot is ready
@discord_client.event
async def on_ready():
print(f'Logged in as {discord_client.user.name}. Ready to take requests!')
|