Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How do I register a custom bot with Discord? #10209

Answered by No767
khteh asked this question in Q&A
Discussion options

Is there python equivalent of this page https://discord.com/developers/docs/quick-start/getting-started?

(1) Do I need a Flask/Quart and FastAPI/Hypercorn server to run a custom bot?
(2) How do run a custom bot locally and test it on Discord. For example, using ngrok?
(3) Does it support /command?

You must be logged in to vote

@khteh To answer your questions:

Is there python equivalent of this page https://discord.com/developers/docs/quick-start/getting-started?

Yes, there is. discord.py's introduction page (and the quickstart) covers the basics and an introduction, but it is not an in-depth guide. In addition, it is strongly recommended to read the examples found in the repository, as they will cover other parts not covered by the introduction.

If you have any questions or need to seek clarification, then it is recommended to post your question in the discussion section as done before.

Do I need a Flask/Quart and FastAPI/Hypercorn server to run a custom bot?

No, discord.py effectively runs the bot by itsel...

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
Comment options

Please don't use AI to answer help discussions.

Comment options

@khteh To answer your questions:

Is there python equivalent of this page https://discord.com/developers/docs/quick-start/getting-started?

Yes, there is. discord.py's introduction page (and the quickstart) covers the basics and an introduction, but it is not an in-depth guide. In addition, it is strongly recommended to read the examples found in the repository, as they will cover other parts not covered by the introduction.

If you have any questions or need to seek clarification, then it is recommended to post your question in the discussion section as done before.

Do I need a Flask/Quart and FastAPI/Hypercorn server to run a custom bot?

No, discord.py effectively runs the bot by itself. Thus, there is no need for any WSGI/ASGI framework and servers to use.

How do run a custom bot locally and test it on Discord. For example, using ngrok?

The easiest way is to see the quickstart page. This document does and should explain a quick rundown, which would clarify the question.

Does it support /command?

Yes, slash commands are supported. It is recommended to view at the example for slash commands. Although not an official resource, AbstractUmbra has an more in-depth explanation and examples, which most have found extremely helpful.

You must be logged in to vote
0 replies
Answer selected by khteh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /