-
Notifications
You must be signed in to change notification settings - Fork 12
JATaber twitch notification #156
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
Changes from 1 commit
9faaa0a
a60894e
71601c0
05c8d60
be7ac2a
5c0996b
920bdaa
2e06256
a8227dc
88dd7aa
245b8a0
9a150aa
b6d4633
637e0c3
f814132
9faa088
fe2f51d
cddda06
7c7850c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,16 +11,15 @@ class StreamerLiveController extends BaseController { | |
| '!twitchLive', | ||
| '!twitchLive <twitch_name>', | ||
| 'Twitch Live', | ||
| 'A quick easy way to ', | ||
| 'A quick easy way to announce you are going live on Twitch.', | ||
|
||
| this.addTwitchAction.bind(controller), | ||
| ), | ||
| ]; | ||
| } | ||
| addTwitchAction() { | ||
|
||
| const { message } = this; | ||
| const streamName = message.parsed[1]; | ||
| const twitchClientID = ''; | ||
| const nameList = {}; | ||
| const twitchName = message.parsed[1]; | ||
| const nameList = `https://www.twitch.tv/${twitchName}`; | ||
| } | ||
| } | ||
| module.exports = StreamerLiveController; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since your goal is to make the StreamerLiveController generic, consider changing the command too!live and add a service attribute, for example !live twitch myname mygame.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am going to implement this method making one command good for twitch or mixer