Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more shitpost to cringebox endpoint #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions lib/plugins/whois/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ type MessageGenerator = (person: string, channel: string) => string

/* eslint-disable @typescript-eslint/no-unused-vars */
const messages: [MessageGenerator, number][] = [
[(person, channel) => `${person} mówi ding-dong na kanale ${channel}`, 4],
[(person, channel) => `${person} robi puk-puk na kanale ${channel}`, 4],
[(person, channel) => `${person} robi honk-honk na kanale ${channel}`, 4],
[(person, channel) => `${person} mówi ding-dong na kanale ${channel}`, 2],
[(person, channel) => `${person} robi puk-puk na kanale ${channel}`, 2],
[(person, channel) => `${person} robi honk-honk na kanale ${channel}`, 2],
[
(person, channel) =>
`${person} robi cringe-cringe na kanale ${channel}`,
Expand All @@ -73,6 +73,19 @@ const messages: [MessageGenerator, number][] = [
`${person} mówi ri,i,i,i,i,i,i na kanale ${channel}`,
2,
],
[
(person, channel) =>
`${person} lubi całować chłopców`,
1,
],
[(person, channel) => `${person} nie posprzątał po sobie i teraz mu głupio`, 2],
[(person, channel) => `${person}, ty psuju`, 2],
[
(person, channel) =>
`not7cd robi puk-puk na kanale ${channel}. Żartowałem, to był ${person}`,
1
],
[(person, channel) => `${person} znowu propaguje lewacką propagande`, 2],
]

const getWeightedRandomMessage = (person: string, channel: string): string => {
Expand Down