Skip to content

Instantly share code, notes, and snippets.

Learning new programming languages!

Eejit Eejit43

Learning new programming languages!
View GitHub Profile
Stalruth /
Last active February 2, 2023 01:38
5 Oct 2022 Stage

5-Oct-2022 Stage

API Updates

  • Command Picker Performance Experiment
    • UI Menu for slash commands
    • Pulls commands and checks permissions
    • Uses cache for time sensitivity
      • Modifications are in an experiment
  • OLD: Switching channels clears the cache
View discord-colored-text-generator.html
<!DOCTYPE html>
<html lang="en">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
JohannesMP /
Last active March 25, 2023 07:03 — forked from ExordiumX/betaenabler.js
Enabling Discord Dev Experiments on Discord for Windows (2022-02)

Enable Dev Experiments in Discord for Windows


This guide shows how to enable dev mode for the Discord desktop application running on Windows (as of February 2022).

This can be used to view beta experiments to try features currently in development that are included but hidden by default in Discord release builds.

kkrypt0nn /
Last active March 30, 2023 11:06
A guide to ANSI on Discord

A guide to ANSI on Discord

Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.

Quick Explanation

To be able to send a colored text, you need to use the ansi language for your code block and provide a prefix of this format before writing your text:


\u001b is the unicode escape for ESCAPE/ESC, meant to be used in the source of your bot (see ). If you wish to send colored text without using your bot you need to copy the character from the website.

MeguminSama / Discord Experiments.js
Last active March 30, 2023 15:26
Discord Experiments.js
View Discord Experiments.js
webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=Object.values(r.c)]);
var UserStore = cache.find(m => m?.exports?.default?.getCurrentUser).exports.default;
var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes);
var user = UserStore.getCurrentUser();
actions.find(n => === "ExperimentStore").actionHandler.CONNECTION_OPEN({
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [],
actions.find(n => === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN();
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done";
Armster15 / TwemojiTutorial.html
Last active August 31, 2022 14:38
A simple HTML example on how to use Twemojis in your website!
View TwemojiTutorial.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Twemoji Tutorial</title>
<!-- This retrieves the latest Twemoji script -->
<script src="" crossorigin="anonymous"></script>
ww9 /
Last active March 28, 2023 13:28
Emojis, UTF8, ASCII (one line) #misc

Collection of one line text art (◕‿◕✿)

Collection of emojis and one line text art like (╯°□°)╯︵ ┻━┻ 🤗

View discordjs-cheatsheet.js
// Discord all events!
// A quick and dirty fleshing out of the discord.js event listeners (not tested at all!)
// listed here ->
// Learn from this, do not just copy it mofo!
// Saved to ->
// Last Updated -> Halloween 2022
almostSouji /
Last active January 18, 2023 21:04
Discord.js: Collections but Cookies

Discord.js Collections explained with cookies


Have you ever played "impersonate the program"? No? Too bad, let's change that.
Imagine you are working at a cookie store and customers come over and ask you to retrieve cookies from storage (and your boss is a giant buttock that doesn't want to walk to the back so he lets you do all the work). You have a lot of boxes, you might say... a Collection of them.

Is this a terrible example to explain Collections with? Probably.
Will that stop me? Heck no!

"No, seriously, why the heck don't you explain this with anything that actually applies to Discord.js? Members, Messages, anything...?!"