Browse Source

Remove code from külboard text

master
Abheek Dhawan 4 years ago
parent
commit
147aa6d83f
  1. 4
      bot.js

4
bot.js

@ -829,7 +829,7 @@ client.on('messageReactionAdd', (messageReaction, user) => {
.setTimestamp(); .setTimestamp();
if (message.content) { if (message.content) {
kulboardEmbed.addField("Message", `\`\`\`${message.content}\`\`\``) kulboardEmbed.addField("Message", message.content);
} }
collection.findOne({ guild_id: messageReaction.message.guild.id }, (error, result) => { collection.findOne({ guild_id: messageReaction.message.guild.id }, (error, result) => {
let kulboardChannel; let kulboardChannel;
@ -914,7 +914,7 @@ client.on('messageReactionRemove', (messageReaction, user) => {
.setTimestamp(); .setTimestamp();
if (message.content) { if (message.content) {
kulboardEmbed.addField("Message", `\`\`\`${message.content}\`\`\``) kulboardEmbed.addField("Message", message.content)
} }
collection.findOne({ guild_id: messageReaction.message.guild.id }, (error, result) => { collection.findOne({ guild_id: messageReaction.message.guild.id }, (error, result) => {

Loading…
Cancel
Save