git clone https://github.com/SQZ777/ntericeapp.git
npm install
node app.js
you need add .env file in your local.
the .env key value should provide:
discordToken=
mongoHost=
PORT=
TRNApiKey=
twitchClientId=
twitchClientSecret=
twitchSubscribeSecret=
APEXStatusApiKey=
- Polling 反正我很閒 Youtube Channel latest youtube video.(every 15 seconds)
- Steamming notify
- I registered twitch EventSub, and it will post request to me, then send notify to channel.
- (deprecated) Notify when target Twitch streamers are streamming.(Polling)
- Use /apex command to get the APEX player current rank score.
- format: /apex [platform]
- format example: /apex pc iceonfire
- support platform: pc, xbox, psn
- If you need to refresh token, you need to update MongoDB's data
- When your message cotains "上香", the bot will send \|/ to your channel
- refresh twitch accesstoken machanism
- set /apex command for personal
- ex: /@my_discord_name then response this person's apex rank status
- before this, should add /apex register command
- ex: /@my_discord_name then response this person's apex rank status