Skip to content

Instantly share code, notes, and snippets.

View XynoxTheDev's full-sized avatar
:octocat:
Noobzie Coder Boi

Arindam Hazra XynoxTheDev

:octocat:
Noobzie Coder Boi
View GitHub Profile
@XynoxTheDev
XynoxTheDev / xynox_privacy_policy.md
Last active September 28, 2021 02:57
Privacy Policy & TOS of all projects own by Arindam "Xynox" Hazra and his organisations.

Privacy Policy

This is the privacy policy of all projects own by Arindam(Xynox) and his organisations. This document applies to those projects where it has been officially mentioned by Arindam(Xynox). We collect some data from the users for working and functional purpose of our project. This document does not supersede the Developer Terms of Service.

This document can be printed for reference by using the print command in the settings of any browser.

Owner and Data Controller

@XynoxTheDev
XynoxTheDev / Discord_API_Rate_Limits.bash
Last active March 23, 2022 21:19
Rate limits for those who interact with Discord API.
REST:
POST Message | 5/5s | per-channel
DELETE Message | 5/1s | per-channel
PUT/DELETE Reaction | 1/0.25s | per-channel
PATCH Member | 10/10s | per-guild
PATCH Member Nick | 1/1s | per-guild
PATCH Username | 2/3600s | per-account
|All Requests| | 50/1s | per-account
WS:
Gateway Connect | 1/5s | per-account
@advaith1
advaith1 / discordjs-slash-commands.md
Last active April 20, 2024 05:39
Slash Commands in Discord.js
@MeguminSama
MeguminSama / Discord Experiments.js
Last active April 7, 2024 13:15
Discord Experiments.js
let cache; webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=r.c]);
var UserStore = Object.values(cache).find(m => m?.exports?.default?.getUser).exports.default;
var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes);
var user = UserStore.getCurrentUser();
actions.find(n => n.name === "ExperimentStore").actionHandler.CONNECTION_OPEN({
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [],
});
actions.find(n => n.name === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN();
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done";
@advaith1
advaith1 / top bots.md
Last active April 20, 2024 05:39
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
@qoomon
qoomon / conventional_commit_messages.md
Last active April 24, 2024 19:56
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

@Seklfreak
Seklfreak / webhook.php
Last active November 28, 2023 14:47
statuspage.io webhooks to discord
<?php
$KEY = ''; // option key to prevent unauthenticated password, should be transfered as the get parameter "key"
$DISCORD_WEBHOOK_URL = ''; // the discord webhook
if ($_SERVER['REQUEST_METHOD'] != 'POST') {
header('HTTP/1.0 405 Method Not Allowed');
echo "Only POST requests allowed\n";
exit();
}
@jagrosh
jagrosh / WebhookTutorial.md
Last active December 4, 2023 20:28
Simple Webhook Tutorial (Twitter -> Discord)

Simple Webhook Tutorial

In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel

Step 1 - Register on Zapier

  1. Go to https://zapier.com/ and create an account (if you don't already have one).

Step 2 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send Tweets
@lancejpollard
lancejpollard / meta-tags.md
Created March 5, 2012 13:54
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">