Vencord/src/plugins/iLoveSpam.ts
Animal 7a0560b9d4
Fart plugin (#71)
* the silly

* fart conflicts

* Update fart.ts

Co-authored-by: Ven <vendicated@riseup.net>
2022-10-11 00:20:27 +02:00

21 lines
508 B
TypeScript

import { Devs } from "../utils/constants";
import definePlugin from "../utils/types";
export default definePlugin({
name: "iLoveSpam",
description: "Do not hide messages from 'likely spammers'",
authors: [
Devs.botato,
Devs.Animal,
],
patches: [
{
find: "),{hasFlag:",
replacement: {
match: /(if\((.{1,2})<=1<<30\)return)/,
replace: "if($2===(1<<20)){return false};$1",
},
},
],
});