项目作者: Technoblazed

项目描述 :
Streamlabs Discord Notifier
高级语言: JavaScript
项目地址: git://github.com/Technoblazed/streamlabs-discord-notifier.git
创建时间: 2017-10-18T05:13:55Z
项目社区:https://github.com/Technoblazed/streamlabs-discord-notifier

开源协议:GNU General Public License v3.0

下载


Streamlabs Discord Notifier

Requirements

  • NodeJS (6+)

Installation

  1. git clone https://github.com/technoblazed/streamlabs-discord-notifier
  2. cd streamlabs-discord-notifier
  3. npm install
  4. Create a Discord Application here. Follow the steps and convert the account to a Bot user.
  5. Rename config.js.example to config.js and complete accordingly.
    • discord.botToken - The Token provided from the Discord developer interfact.
    • discord.postTo - An array of stringified channel IDs where messages should be posted to.
    • streamlabs.channel - Channel to be displayed with each alert.
    • streamlabs.token - Streamlabs socket API token. You can either create an oauth system to get this, or just grab your account one from here and visit the API Tokens menu. Use the Socket API token.
  6. Invite the Discord bot to your server using the following link, replacing <CLIENT_ID> with the Client ID of your bot.
    • https://discordapp.com/oauth2/authorize?client_id=<CLIENT_ID>&scope=bot&permissions=19456
  7. npm start