D
D
dimoncicloltroll2020-07-02 08:06:47
Python
dimoncicloltroll, 2020-07-02 08:06:47

Newbie python question. How to make multiple python commands for discord bot?

I mean by type, on Python
To make several commands
@Bot.command ()
what to write next?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cython, 2020-07-02
@cython

Read the discord.py documentation

from discord.ext import commands

bot = commands.Bot(command_prefix='$')

@bot.command()
async def test(ctx):
    pass


@bot.command()
async def test1(ctx):
    pass

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question