parent
e1d48d5cf6
commit
04db3184b7
|
@ -160,7 +160,7 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site =
|
|||
{
|
||||
let msgQueue = [];
|
||||
dClient.on('message', async message => {
|
||||
if (message.channel.id !== DiscordChannelID || message.author.id == dClient.user.id /*|| message.content.startsWith('!')*/) return;
|
||||
if (message.channel.id !== DiscordChannelID || message.author.id == dClient.user.id || !message.member /*|| message.content.startsWith('!')*/) return;
|
||||
var str = message.cleanContent;
|
||||
var aname = `${message.member.displayName}#${message.member.user.discriminator}`;
|
||||
if (str.startsWith('/') || str.startsWith('\\'))
|
||||
|
|
Loading…
Reference in New Issue