mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 17:34:25 -05:00
small discord-rcon fix
This commit is contained in:
parent
86d0878174
commit
88edf5ca5b
@ -52,7 +52,7 @@ export default class DiscordRcon extends BasePlugin {
|
|||||||
|
|
||||||
this.options.discordClient.on('message', async (message) => {
|
this.options.discordClient.on('message', async (message) => {
|
||||||
// check the author of the message is not a bot and that the channel is the RCON console channel
|
// check the author of the message is not a bot and that the channel is the RCON console channel
|
||||||
if (message.author.bot || message.channel.id !== this.channelID) return;
|
if (message.author.bot || message.channel.id !== this.options.channelID) return;
|
||||||
|
|
||||||
let command = message.content;
|
let command = message.content;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user