All collected Discord error codes, categorized by type (first 2 digits).
Code | Message |
---|---|
0 | General error (such as a malformed request body, amongst other things) |
id | name | hash | type | |
---|---|---|---|---|
channel_categories | 2070146447 | |||
recommend_mobile_notice | RECOMMEND_MOBILE_NOTICE | 1486371970 | ||
report-experiment | Report Experiment | 2207596622 | user | |
survey_video_chat | SURVEY_VIDEO_CHAT | 3678716185 | ||
search_experiment_dm | 1770646087 | |||
search_experiment_dm_canary | 612745901 | |||
search_experiment_guild | 2512661867 | |||
search_experiment_guild_2 | 2937879064 | |||
search_experiment_guild_canary | 3007049259 |
/* | |
* Global Media Controls Panel | |
* Written by Tam710562 | |
*/ | |
(function () { | |
'use strict'; | |
const gnoh = { | |
i18n: { |
import json | |
import re | |
from operator import itemgetter | |
import requests | |
from itertools import combinations | |
def best_similarity(master, candidates): | |
counts = [0] * len(candidates) | |
for candidate_index, candidate in enumerate(candidates): | |
for item in candidate: |
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"; |
#!/bin/sh | |
# PNG Gamma trick (by @marcan42 / marcan@marcan.st) | |
# | |
# This script implements an improved version of the gamma trick used to make | |
# thumbnail images on reddit/4chan look different from the full-size image. | |
# | |
# Sample output (SFW; images by @Miluda): | |
# https://mrcn.st/t/homura_gamma_trick.png | |
# https://www.reddit.com/r/test/comments/6edthw/ (click for fullsize) | |
# https://twitter.com/marcan42/status/869855956842143744 |