#๐Ÿ”’ ```How do I create a text command? Example. .command and he replies with my predefinite text

37 messages ยท Page 1 of 1 (latest)

uneven meadow
#

???

tame marshBOT
#

@uneven meadow

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

deft saffron
uneven meadow
deft saffron
#

You want to build a bot?

uneven meadow
#

discord

#

but for now I only need this command

deft saffron
#

Do you know any Python?

#

Building a bot has a lot of steps involved, it's not an easy first project.

uneven meadow
#

I just need this command, nothing else

oblique apex
uneven meadow
uneven meadow
oblique apex
uneven meadow
# uneven meadow

I bought this source, but I want to add the command with my text

oblique apex
#

Do you know Python?

deft saffron
uneven meadow
#

@raftar.command()
async def help(ctx):
help_text = '''
help text
'''
await ctx.send(help_text)
logger.info("Help Command Used")

@raftar.command()

#

it should be like this @deft saffron @oblique apex

deft saffron
#

I don't know "raftar", is that what you bought?

deft saffron
# uneven meadow ye

Then I doubt any of us could help with it, since we don't know it. You should ask the people you bought it from.

uneven meadow
deft saffron
#

that might help, but we'd be guessing, since we don't know the API you bought.

#

But, show us the file

#

!paste

tame marshBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

tame marshBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.