Skip to content

Instantly share code, notes, and snippets.

View advaith1's full-sized avatar
👨‍💻
hi

advaith advaith1

👨‍💻
hi
View GitHub Profile
[
{
"id": 0,
"name": {
"default": "General"
},
"is_primary": true
},
{
"id": 15,
@advaith1
advaith1 / intents.md
Last active April 20, 2024 05:39
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).

@advaith1
advaith1 / discordjs-slash-commands.md
Last active April 20, 2024 05:39
Slash Commands in Discord.js
@advaith1
advaith1 / nitro.md
Created May 4, 2023 01:06
Discord Nitro Subscription Links
[
"ACTIVITIES_ALPHA",
"ACTIVITIES_EMPLOYEE",
"ACTIVITIES_INTERNAL_DEV",
"ANIMATED_BANNER",
"ANIMATED_ICON",
"APPLICATION_COMMAND_PERMISSIONS_V2",
"AUTOMOD_TRIGGER_KEYWORD_FILTER",
"AUTOMOD_TRIGGER_ML_SPAM_FILTER",
"AUTOMOD_TRIGGER_SPAM_LINK_FILTER",
@advaith1
advaith1 / domain-price-changes-2023.md
Created July 19, 2023 21:34
2023 Domain Price Changes

Data from Cloudflare

Due to changes in the Registry pricing, our fees for the following TLDs will be changing. All transactions, including auto-renewals, that occur on or after the effective date will be billed at the new price. As a reminder, renewals can be submitted manually at any time.