colors lul

This commit is contained in:
Flummi 2018-09-02 20:46:14 +02:00
parent 58ca2fed61
commit 51be6b7b36
2 changed files with 6 additions and 5 deletions

View File

@ -11,7 +11,8 @@ const colors = {
red: "04", red: "04",
blue: "12", blue: "12",
yellow: "08", yellow: "08",
green: "03" // \x0F green: "03",
brown: "05"
}; };
const msgmodes = { const msgmodes = {
normal: "PRIVMSG {recipient} :{msg}", normal: "PRIVMSG {recipient} :{msg}",

View File

@ -9,10 +9,10 @@ const apis = {
} }
}; };
const flags = { const flags = {
1: "sfw", 1: "[color=green]sfw[/color]",
2: "nsfw", 2: "[color=brown]nsfw[/color]",
4: "nsfl", 4: "[color=red]nsfl[/color]",
8: "nsfp" 8: "[color=blue]nsfp[/color]"
}; };
const regex = /(img|vid)\.pr0gramm\.com\/((?:\d+){4}\/(?:\d+){2}(\/(?:\d+){2})?\/(?:\w{1,20})\.(?:webm|png|jpg|mp4|webm)?)/gi; const regex = /(img|vid)\.pr0gramm\.com\/((?:\d+){4}\/(?:\d+){2}(\/(?:\d+){2})?\/(?:\w{1,20})\.(?:webm|png|jpg|mp4|webm)?)/gi;
const site = "https://pr0gramm.com/new/"; const site = "https://pr0gramm.com/new/";