Skip to content

Commit

Permalink
Updating
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGodinez21 authored and MarcDonald committed Apr 15, 2021
1 parent 22c9b4e commit 7eff113
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ this is a bop can you please play this https://open.spotify.com/track/4uLU6hMCjM
eg. `spotify:playlist:{THIS_STRING_IS_THE_ID}`)
- The Spotify client ID and secret are obtained from the application you
created in the Spotify developer dashboard
- If you wish to have chat feedback, set `CHAT_FEEDBACK` to true then generate a
- If you wish to have chat feedback, set `CHAT_FEEDBACK` to true then generate a
[Twitch Chat OAuth Token](https://twitchapps.com/tmi/) and set it as the `TWITCH_TOKEN` field in
the `config.json` file. Also set the `BOT_USERNAME` field to the name of the account you wish to
use (must be the same account you generate the OAuth token for)
Expand Down
2 changes: 1 addition & 1 deletion src/spotify.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'dotenv/config'
import env from 'env-smart';
import SpotifyAuth from './spotify-auth';
import fs from 'fs';
import process from 'process';
import { response } from 'express';
env.load();

export default class SpotifyService {
Expand Down
6 changes: 3 additions & 3 deletions src/twitch.service.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import tmi, { ChatUserstate } from 'tmi.js';
import {getTrackIdFromLink, SPOTIFY_LINK_START} from './messageUtils';
import tmi, { ChatUserstate, client } from 'tmi.js';
import { getTrackIdFromLink, SPOTIFY_LINK_START } from './messageUtils';
import SpotifyService from './spotify.service';
import 'dotenv/config'
import env from 'env-smart';
env.load();
import e from 'express';
env.load();

interface TwitchOptions {
channels: string[];
Expand Down

0 comments on commit 7eff113

Please sign in to comment.