spinner-scaleas-loadingscreen

Discord Feed Bridge

Security (Read This)

Golden rule: Only give the bot access to channels you want to display publicly. Never allow the bot to view staff/private/ticket/log channels.


Requirements

  • Discord bot token


Discord Bot Setup

1) Create a bot

Create a new application + bot in the Discord Developer Portal: https://discord.com/developers/applications?new_application=truearrow-up-right

2) Invite the bot to your server

  • The bot does not need special permissions

  • Just ensure it can View Channel + Read Message History for the channels you want to expose

Invite Bot Screenshot

3) Enable Message Content Intent

Enable Message Content Intent so message text is available reliably:

Enable Message Content Intent Screenshot

4) Copy your bot token

Copy the token (marked as (1) in the screenshot above). Keep it secret.

5) Edit your scripts config:

Next, you just have to insert the Bot token in the server/discord_config.lua file! Here is how it looks:

Also make sure, that these feeds (channeld and id) match the feeds JSON block found in build/config.js

Last updated