hotfix - bug in the bloody message edit event

This commit is contained in:
Ben
2020-08-10 19:31:37 +01:00
parent 7fa3f8406d
commit 4594be6f94
2 changed files with 3 additions and 3 deletions

View File

@@ -681,7 +681,7 @@ async function MessageUpdate(message, oldmessage)
embed.field('', `**Message Owner:** ${message.author.mention}\n` +
`**Old Message:** ${oldmessage.content}\n` +
`**New Message:*: ${message.content}`);
`**New Message:**: ${message.content}`);
DiscordHelpers.SendMessageSafe(FallbackChannel, { embed: embed.sendable });
}

View File

@@ -1,10 +1,10 @@
const Database = require('./database.js')
module.exports.SetupGuild = async function(guild)
module.exports.SetupGuild = async function(id, name, logchannel = -1, )
{
const GuildSettings = {
DoUnpingableNickname: false
};
Database.NewGuild();