In attempts to learn disnake and create a bot, I've been following the commands tutorial provided in disnakes documentation to make some commands for my bot.(https://docs.disnake.dev/en/stable/ext/commands/commands.html)
I currently cannot figure out what's wrong, but I can say thats the on_ready() event does run successfully. This code is the main and orly module being run. I appreciate any help!
import disnake
from disnake.ext import commands
client = disnake.Client(intents=disnake.Intents.all())
bot = commands.Bot(command_prefix='$')
@client.event
async def on_ready():
print(f'We have logged in as {client.user}')
@bot.command()
async def test(ctx, arg):
ctx.send(arg)
client.run('')