Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active November 9, 2024 20:15
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

This no longer works if you're alone in vc! Somebody else has to join you!

Warning

There are now two quest types ("stream" and "play")! Pay attention to the instructions!

[
"ACTIVITIES_ALPHA",
"ACTIVITIES_EMPLOYEE",
"ACTIVITIES_INTERNAL_DEV",
"ACTIVITY_FEED_DISABLED_BY_USER",
"ACTIVITY_FEED_ENABLED_BY_USER",
"ANIMATED_BANNER",
"ANIMATED_ICON",
"APPLICATION_COMMAND_PERMISSIONS_V2",
"AUTOMOD_TRIGGER_KEYWORD_FILTER",
@advaith1
advaith1 / nitro.md
Created May 4, 2023 01:06
Discord Nitro Subscription Links
@Dziurwa14
Dziurwa14 / codes.md
Last active November 9, 2024 18:36
Discord error codes

Error Codes

All collected Discord error codes, categorized by type (first 2 digits).

Unknown API object

Code Message
10001 Unknown Account
10002 Unknown Application
10003 Unknown Channel
10004 Unknown Guild
@XYZenix
XYZenix / experiments.csv
Last active November 17, 2024 00:08
discord experiments
id name hash type
channel_categories Channel Categories 2070146447
recommend_mobile_notice RECOMMEND_MOBILE_NOTICE 1486371970
report-experiment Report Experiment 2207596622 user
survey_video_chat SURVEY_VIDEO_CHAT 3678716185
nitro 4263776855
nitro_internal 1242680313
search_experiment_dm 1770646087
search_experiment_new_user_2 2277703917
search_experiment_dm_canary 612745901
@advaith1
advaith1 / discordjs-slash-commands.md
Last active July 28, 2024 00:12
Slash Commands in Discord.js
@advaith1
advaith1 / intents.md
Last active September 28, 2024 11:14
Discord Gateway Intents Explainer

Intents Explainer

If you're wondering what Gateway Intents are, what Privileged Intents are, why your bot can't see statuses, or why your bot can't see member joins anymore, then this page should explain it to you!

if you do not know what intents are, please read this entire page

Intro

First, a short explanation of how bots work: bots can make requests over the REST (HTTP) API to retreive information and do actions, and they get real-time updates from Discord in the form of websocket gateway events. They can also fetch server members via the gateway.

Examples of gateway events you are probably familiar with are Message Create (a message was sent) and Guild Member Add (a user joined a server).

[
{
"id": 0,
"name": {
"default": "General"
},
"is_primary": true
},
{
"id": 15,
@advaith1
advaith1 / top bots.md
Last active November 13, 2024 15:39
The top Discord bots ranked by server count
Rank Bot Approximate Server Count Library
1 MEE6 21,300,000 Custom Python
2 Rythm 🪦 15,200,000 JDA
3 carl-bot 🅱️ 10,900,000 Pycord
4 Groovy 🪦 10,100,000 JDA, Discord4J
5 Dyno