Skip to content

Instantly share code, notes, and snippets.

View kvba0000's full-sized avatar

kvba kvba0000

View GitHub Profile
@kvba0000
kvba0000 / vencord-msg-logger-edit.js
Created May 7, 2023 14:15
Vencord funny messagelogger editor
/*
Script edits message with contents from msgs variable before removing it
this makes content be visible forever only for MessageLogger users (and for people who are fast enough to read it)
dont use too many messages as it might ratelimit you
*/
const msgs=[
`██░█░░█▀░███░█░░░█`,
`█░█░█░██░█░█░█░█░█ hi messagelogger users`,
`█░█░█░█▄░███░█████`
],originalRemove = findByProps('editMessage', 'deleteMessage').deleteMessage,currentUser = findByProps('getCurrentUser').getCurrentUser(),getMessage = findStore('MessageStore').getMessage;findByProps('editMessage','deleteMessage').deleteMessage=async(...args)=>{const[cID, mID]=args;if(getMessage(cID,mID).author.id!==currentUser.id)return originalRemove(...args);for(const mc of msgs){await fetch(`https://discord.com/api/v9/channels/${cID}/messages/${mID}`,{"headers":{"authorization":findByProps('getToken').getToken(),"content-type":"application/json"},"body": JSON.stringify({content:mc}),"method": "PATCH"});}return originalRemove(...args)}
@kvba0000
kvba0000 / bitflip.py
Last active February 4, 2024 20:51
Bitflip script written in Python with chunk reading function. Mainly used to de-anti-decompile Gamemaker fangames like MTO (Mysterytale Online).
from os import fstat
from time import sleep
filename = "data.win"
new_filename = f"new_{filename}"
chunk_size = 1024
# Main progress
wf = open(new_filename, "wb")
with open(filename, "rb") as f:
@kvba0000
kvba0000 / df-pogs-calc.py
Last active February 4, 2024 15:37
DONTFORGET Pog Calculator - Calculate how many gold do you need to get Rainbow soul in DONTFORGET - game by RickyG!
from sys import platform
nmbrs = []
pog_cost = 250
all_pogs = 24 * 999
def up_line():
if platform != "win32":
print("\033[1A\033[K\033[1A")
body::before {
content: " ";
position: fixed;
background-image: url("https://i.imgur.com/cEOBMVS.png");
width: 100vw;
height: 100vh;
z-index: -9999;
left: 0;
top: 0;
background-repeat: no-repeat;
@kvba0000
kvba0000 / messagelatency-manipulation.js
Created May 29, 2024 00:04
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
;((sn,n)=>{
if(window[n] instanceof Array && window[n].includes(sn)) return "Snippet has already been loaded. Restart discord to update the code."
// Number of days to show on MessageLatency plugin
const days = 1337
// ONLY ISSUE!!! -> Some messages might look like duplicated but it's only Client Side
const shift = 14200704e5
const fromNonce = e => Math.floor(Number(e) / 4194304) + shift
@kvba0000
kvba0000 / 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"],