Skip to content

Commit

Permalink
fix: Simplify secret.
Browse files Browse the repository at this point in the history
  • Loading branch information
KararTY committed Apr 24, 2022
1 parent 8d52468 commit da3bbd9
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/Handlers/PajbotAlertHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,11 @@ import DefaultHandler from './DefaultHandler'
export default class MiscHandler extends DefaultHandler {
public instantResponse = true

private readonly responses = [
'monkaPickle 🚨 I NEED A MEDIC BAG',
'monkaPickle 🚨 JÄVLAR',
'monkaPickle 🚨 VAD FAN I HELVETE',
'monkaPickle 🚨 AHHHHH',
'monkaPickle 🚨 THE ALERT, GO GET IT',
'monkaPickle 🚨 LISTEN UP, THIS IS AN ALERT'
]

public prefix = ['pajaS 🚨 ALERT']

public async onCommand (msg: PrivmsgMessage): Promise<void> {
if (msg.senderUserID === '82008718' && msg.channelID === '11148817') {
const randomResponse = this.responses[Math.floor(Math.random() * this.responses.length)]
void this.twitch.ircClient.say(msg.channelName, randomResponse)
void this.twitch.ircClient.say(msg.channelName, 'monkaPickle 🚨 VARNING')
}
}
}

0 comments on commit da3bbd9

Please sign in to comment.