#!/usr/bin/env python3 import discord from discord.ext import commands from config import * intents = discord.Intents.default() intents.message_content = True bot = commands.Bot(command_prefix='$', intents=intents) @bot.command() async def test(ctx): await ctx.send("Hello world!") bot.run(DISCORD_TOKEN)