Skip to content

Instantly share code, notes, and snippets.

@apple502j
Last active September 25, 2019 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apple502j/f774de51288fdcaf9fef9b1143c1a65b to your computer and use it in GitHub Desktop.
Save apple502j/f774de51288fdcaf9fef9b1143c1a65b to your computer and use it in GitHub Desktop.
ToC
Coroutines
What is a coroutine?
Where can I use await?
What does “blocking” mean?
Discord: NEW
Where can I find my bot's token? NEW
What is a snowflake? NEW
What is an embed? NEW
Why can't I edit the administrator role? NEW
How do I send a link? NEW
What is sharding and why do I need it? NEW
Is there a way to use Rich Presence? NEW
Python: NEW
How do I check my discord.py version? NEW
How do I use decorators? NEW
How do I make a web request?
How do I store my data persistently? NEW
General
How do I set the “Playing” status?
How do I send a message to a specific channel?
How do I upload an image?
How can I interact with the message I sent? NEW
How can I add a reaction to a message?
How can I delete a message? NEW
How can I ban a user that is not in the guild? NEW
How can I send a DM? NEW
How can I send an Attachment as a file? NEW
Why does my get_xxx() return None? NEW
Why does my on_reaction_add ignore some messages? NEW
How do I pass a coroutine to the player’s “after” function?
How do I run something in the background?
How do I get a specific model?
How do I use a local image file for an embed image?
How do I make my embed's name or value blank? NEW
How do I wait for multiple events? NEW
Is there an event for invites or audit log entries being created?
Is there a way to track who invited a member? NEW
Is there a way to search through a channel or a guild? NEW
Commands Extension
Why is Bot recommended? NEW
Do I need to use both Client and Bot? NEW
Why does on_message make my commands stop working?
Why do my arguments require quotes?
How do I get the original message?
How do I store data globally? NEW
How do I make a subcommand?
How do I handle check errors? NEW
Why is the EmojiConverter not accepting some emojis? NEW
What are cogs and how do they work? NEW
How do I split the bot file into multiple ones? NEW
How do I disable a command? NEW
How do I invoke a command in a command? NEW
How can I ignore myself from my bot's cooldown? NEW
How can I use built-in checks globally? NEW
@TheRockettek
Copy link

hello mom

@ShineyDev
Copy link

discord

token - sure
snowflake - this is asked once a month if that, no
embed - people have only been asking this because of blockquotes, no
administrator role - what, no?
link - ???
sharding - sure, not in this section
rich presence - probably warrants more of a 'bot only' doc than an FAQ entry

python

version - sure, not in this section
decorators - there are python docs for this, no
persistency - unsure

general

interact message - "how do i get a sent message" is probably more suitable, even so, i don't like this
delete message - there is a doc for this. if you're pointing toward the http method, absolutely not
hackban - bleh. not asked often at all but whatever
send dm - no
on_reaction_add - shouldn't require an FAQ entry, there is a warning on the doc
blank values - no
wait_for multiple - iunno
invite tracker - not asked often at all
search - pretty sure lambda has something for this

commands ext

recommended - pretty sure this is mentioned in the doc but sure
botclient - i'd like to think this doesn't require an FAQ entry, no
global data - same as above but sure
check errors - no
emojiconverter - iunno
cogs - there's a doc for this, no
multiple files - should be explained in the ext doc if it isn't already
disable command - there's a doc for this, no
built-in global checks - a more general global checks entry is more suitable here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment