blob: c19b7aff5deecb04c5d28462614e730a9ab1920f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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",
},
},
],
});
|