Skip to content

Instantly share code, notes, and snippets.

View meowabyte's full-sized avatar
🫠

meowabyte meowabyte

🫠
View GitHub Profile
@meowabyte
meowabyte / 1-README.md
Last active July 25, 2025 11:48
Niko-ify Emotes on Vencord

Niko-ify Emotes

Caution

These rules/snippets are provided as-is and there is high possibility a lot of them will stop working once something happens on Discord server from prerequisites or if you won't read what you actually need. Please do not come with these problems to me if they can be fixed by reading the steps below.

This gist provides set of various TextReplace rules that you can apply in your Vencord installation for replacing various emotes such as :), :( or o_o with it's Niko emoji alternatives.

Prerequisites

@meowabyte
meowabyte / tags-20250509.json
Last active May 9, 2025 10:54
List of captured Discord server tags 2025-05-09 (774)
[
{
"identityGuildId": "1172245377395728464",
"identityEnabled": true,
"tag": "ATL",
"badge": "73d86ffb81cdcdc4f275eaf3b82fca31"
},
{
"identityGuildId": "1369745124669653083",
"identityEnabled": true,
@meowabyte
meowabyte / friend-anyone.js
Last active July 24, 2025 22:24
Vencord snippet that adds a super power of adding anyone to friends! (VISUAL ONLY)
(() => {
const {
FluxDispatcher,
UserStore
} = Vencord.Webpack.Common
const RelationshipActions = Vencord.Webpack.findByProps("addRelationship", "removeRelationship")
RelationshipActions.addRelationship = ({ userId, type = 1 }) => {
console.log(`+ ${userId} (${type})`)
FluxDispatcher.dispatch({
@meowabyte
meowabyte / simpleMonkeyPatch.js
Last active July 24, 2025 23:12
Simple monkey patch of Function.bind prototype for context searching by properties. Returns to default prototype after hit
// Callback
const foundContext = (ctx) => {
console.log(ctx)
}
// Look for context by these keys
const searchBy = [
"chat",
"generateImage"
]
@meowabyte
meowabyte / cleanVencord.js
Created August 2, 2024 06:02
Simple script for cleaning Vencord out of old themes/configurations of nonexistant plugins
// You need to save configuration after that by for example
// force saving config to cloud or by clicking save on any
// plugin settings
Vencord.Settings.enabledThemes = []
console.log("Disabled all local themes")
const pluginsNow = Object.keys(Vencord.Plugins.plugins).map(p => p.toLowerCase())
let pc = 0
Object.keys(Vencord.Settings.plugins).forEach(p => {
if(!pluginsNow.includes(p.toLowerCase())) {
@meowabyte
meowabyte / NO-NFT-CRYPTO.css
Created June 8, 2024 21:07
Few CSS snippets for Old Twitter Layout for hiding certain content
/* Tweet */
div.tweet:has(
/* Disable tweets with crypto/nft tags */
a[href^="/search?q=%24"], a[href^="/hashtag/BTC"], a[href^="/hashtag/ETH"], a[href^="/hashtag/btc"],
a[href="/hashtag/eth"], a[href^="/hashtag/Bitcoin"], a[href^="/hashtag/Btc"], a[href="/hashtag/Eth"],
a[href^="/hashtag/Etherium"], a[href^="/hashtag/etherium"], a[href^="/hashtag/BITCOIN"], a[href^="/hashtag/ETHERIUM"],
a[href^="/hashtag/Altcoins"], a[href^="/hashtag/Altcoin"], a[href^="/hashtag/altcoins"], a[href^="/hashtag/altcoin"],
a[href="/hashtag/xrp"], a[href="/hashtag/XRP"], a[href="/hashtag/Xrp"], a[href^="/hashtag/Crypto"],
a[href^="/hashtag/crypto"], a[href^="/hashtag/CRYPTO"], a[href^="/hashtag/nft"], a[href^="/hashtag/Nft"],
a[href^="/hashtag/NFT"],
@meowabyte
meowabyte / messagelatency-manipulation.js
Last active July 30, 2025 14:49
A fairly simple snippet for MessageLatency plugin manipulation for Vencord. It doesn't use any Vencord-depending variables so you can use Vanilla Discord to troll others
/** _changeLatency(days) to change your latency */
window._changeLatency = await (async () => {
const NONCE_SHIFT = 14200704e5,
SHOULD_MANIPULATE_SYMBOL = Symbol("should manipulate?"),
ORIGINAL_NONCE_SYMBOL = Symbol("original nonce")
const fromNonce = val => Math.floor(Number(val) / 4194304) + NONCE_SHIFT
const toNonce = val => {
let t = val - NONCE_SHIFT;
return t <= 0 ? "0" : (BigInt(t) << 22n).toString()
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active August 12, 2025 17:56
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
@LapisOnTheMoon
LapisOnTheMoon / regex.js
Last active April 14, 2025 20:19 — forked from anishshobithps/regex.js
Various regex for Discord
module.exports = {
mentions: {
userOrMember: /^(?:<@!?)?(\d{17,19})>?$/,
channel: /^(?:<#)?(\d{17,19})>?$/,
role: /^(?:<@&)?(\d{17,19})>?$/,
snowflake: /^(\d{17,19})$/,
},
misc: {
emoji: /^(?:<a?:\w{2,32}:)?(\d{17,19})>?$/,
username: /.{2,32}/,
@gtallen1187
gtallen1187 / keybase-gpg-github.md
Created November 8, 2021 05:15
Using Keybase PGP key with GitHub

Set up Keybase.io, GPG & Git to sign commits on GitHub

This is a step-by-step guide on how to create a GPG key on keybase.io, adding it to a local GPG setup and use it with Git and GitHub.

Although this guide was written for macOS, most commands should work in other operating systems as well.

There's a video published by Timothy Miller explaining some parts of this guide. Discussion on Hacker News.

Note: If you don't want to use Keybase.io, follow [this guide][1] instead. For manually transferring keys to different hosts, check out this [answer on Stack Overflow][2].