- Ensure you have node installed
- From the install directory run
npm install - Enable an application and bot by following https://github.com/Chikachi/DiscordIntegration/wiki/How-to-get-a-token-and-channel-ID-for-Discord and filling in the settings in
config.jsonfortokenandserverID - Decide which features you want activated by setting the corresponding flag in
config.json:
channelJoinNotification- TTS notifications when anyone joins a text channelvoiceStateUpdates- TTS updates when a user joins a channel to the associated text channel
- Run
node bot.jsfrom the install server to start
For now this is very much a work in progress, as such there are a few problems. They will likely be solved in future updates.
voiceStateUpdatesmap a voice channel name to a similarly named text channel. The required format is as follows:
Voice channel: NAME OF CHANNEL - Voice maps and sends TTS notifications to text channel: name_of_channel_text. This is to get over limitations in channel state reporting in discord
- These notifications currently only work when joining
- It's likely going to have some teething trouble with some mapping combinations
- TTS permissions must be granted to the BOT account
- TTS Must be enabled on your server
- TTS will always speak the bots name first - I can't get around this.