Skip to content

Instantly share code, notes, and snippets.

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

advaith advaith1

👨‍💻
hi
View GitHub Profile
@advaith1
advaith1 / nitro.md
Created May 4, 2023 01:06
Discord Nitro Subscription Links
@advaith1
advaith1 / top bots.md
Last active April 13, 2024 21:22
The top Discord bots ranked by server count
Rank Bot Approximate Server Count Library
1 MEE6 21,600,000 Custom Python
2 Rythm 🪦 15,200,000 JDA
3 Groovy 🪦 10,400,000 JDA, Discord4J
4 carl-bot 🅱️ 9,770,000 Pycord
5 ProBot
[
"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 / intents.md
Last active March 15, 2024 04:36
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).

  • LOADING_LINE_1: "Discord was almost called Bonfire before we picked our name. It was meant to be nice and cozy."
  • LOADING_LINE_2: "Discord was almost called Wyvern before we picked our name. Not too proud of that one."
  • LOADING_LINE_3: "Our logo's name is Clyde."
  • LOADING_LINE_4: 'There are a bunch of hidden "Easter Eggs" in the app that happen when you click certain things...'
  • LOADING_LINE_5: "Discord started as a game company making a mobile game called Fates Forever."
  • LOADING_LINE_6: "Discord’s official birthday is May 13, 2015."
  • LOADING_LINE_7: "We came up with the idea of Discord Nitro over morning breakfast potatoes."
  • LOADING_LINE_8: "Our mascot, Wumpus, was originally created as a character with no friends :("
  • LOADING_LINE_9: "In Discord's early days, light theme was the only theme. Scary times."
  • LOADING_LINE_10: "In the ancient days, Discord started as a browser-only app."
@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.

@advaith1
advaith1 / drp-ext-doc.md
Last active September 23, 2023 18:46
Documentation for the Discord Rich Presence extension

Discord Rich Presence Extension Documentation

0. Create an app

First, create an application at Discord's New App page.

Set the App Name to the title of your Rich Presence playing status. For example, if you want Playing with discord, set the app name to with discord. You don't need to set a Redirect URI, Description, or App Icon, just click Create App. New App screenshot

Next, click Enable Rich Presence here: Enable Rich Presence screenshot

Now you can upload your images.

@advaith1
advaith1 / discordjs-slash-commands.md
Last active July 21, 2023 07:11
Slash Commands in Discord.js
@advaith1
advaith1 / redirect.html
Created December 21, 2017 18:27
Redirects the page to a new url.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Redirecting...</title>
<meta HTTP-EQUIV="REFRESH" content="0; url=/newurl">
<link rel="canonical" href="/newurl" /></head>
<body>
<a href="/newurl">Click here if you are not redirected automatically.</a></body>
</html>
[
{
"id": 0,
"name": {
"default": "General"
},
"is_primary": true
},
{
"id": 15,