Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiscordServerStatus heads up settings #306

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ Grafana:
<details>
<summary>DiscordServerStatus</summary>
<h2>DiscordServerStatus</h2>
<p>The <code>DiscordServerStatus</code> plugin can be used to get the server status in Discord.</p>
<p>The <code>DiscordServerStatus</code> plugin can be used to get the server status in Discord. Make sure that the option "Message Content Intent" is enabled/active on the discord bot. Otherwise the discord bot will be unable to answer back with the server status request.</p>
<h3>Options</h3>
<ul><li><h4>discordClient (Required)</h4>
<h6>Description</h6>
Expand Down
2 changes: 1 addition & 1 deletion squad-server/plugins/discord-server-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import DiscordBaseMessageUpdater from './discord-base-message-updater.js';

export default class DiscordServerStatus extends DiscordBaseMessageUpdater {
static get description() {
return 'The <code>DiscordServerStatus</code> plugin can be used to get the server status in Discord.';
return 'The <code>DiscordServerStatus</code> plugin can be used to get the server status in Discord. Make sure that you enable the "Message Content Intent" option on your Discord bot via the Discord Developer Portal, otherwise, the Discord bot will be unable to reply to messages.';
}

static get defaultEnabled() {
Expand Down
1 change: 1 addition & 0 deletions squad-server/templates/readme-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ SquadJS relies on being able to access the Squad server log directory in order t
* [Node.js](https://nodejs.org/en/) (14.x) - [Download](https://nodejs.org/en/)
* [Yarn](https://yarnpkg.com/) (Version 1.22.0+) - [Download](https://classic.yarnpkg.com/en/docs/install)
* Some plugins may have additional requirements.
* Make sure the option "Message Content Intent" is enabled/active on the discord bot via your Discord Developer Portal. Otherwise the discord bot will be unable to answer back with the server status request.
Buff-oG marked this conversation as resolved.
Show resolved Hide resolved

#### Installation
1. [Download SquadJS](https://github.com/Team-Silver-Sphere/SquadJS/releases/latest) and unzip the download.
Expand Down