I still don't get any results. I also tried with this code:
import discord
from discord.ext import commands
intents = discord.Intents.all()
intents.message_content = True
bot = commands.Bot(command_prefix='!', intents=intents)
@bot.event
async def on_ready():
print(f'Logged in as {bot.user} (ID: {bot.user.id})')
print('------')
@bot.command
async def hi(ctx):
print('asdadsa')
await ctx.send('#your response here')
bot.run('MY_TOKEN')
But still, when I type !hi command in the Discord chat, the bot doesn't respond at all. any ideas?