forked from Galactic/galactic-bot
fixes
This commit is contained in:
parent
c072bf18db
commit
74a4c1763f
@ -96,7 +96,7 @@ class MessageWrapper {
|
||||
|
||||
async deleteReply() {
|
||||
if (this._reply) return this._reply.delete();
|
||||
throw new Error('Message not replied to');
|
||||
// throw new Error('Message not replied to');
|
||||
}
|
||||
|
||||
awaitReactions(...opts) {
|
||||
|
@ -130,7 +130,7 @@ class GuildLogger extends Observer {
|
||||
|
||||
const embed = {
|
||||
title: guild.format(`MSGLOG_THREAD_TITLE`, { action: guild.format('THREAD_SWITCH', { type }, { code: true }), channel: parent.name }),
|
||||
description: guild.format(`MSGLOG_THREAD_DESC_${type}`, { owner: owner.tag, actor: actor?.tag || 'Unknown', name: thread.name, id: thread.id }),
|
||||
description: guild.format(`MSGLOG_THREAD_DESC_${type}`, { owner: owner.tag, actor: actor?.tag || 'System', name: thread.name, id: thread.id }),
|
||||
footer: { text: guild.format('MSGLOG_THREAD_FOOTER', { ownerId: owner.id, channelId: parent.id, threadId: thread.id }) },
|
||||
color: CONSTANTS.COLORS[`THREAD_${type}`]
|
||||
};
|
||||
|
@ -116,13 +116,15 @@ class ModerationLog extends Setting {
|
||||
name: 'GENERAL_STATUS',
|
||||
value: guild.format('GENERAL_STATE', { bool: Boolean(setting.enabled) }, { code: true }),
|
||||
inline: true
|
||||
},
|
||||
{
|
||||
}, {
|
||||
name: 'GENERAL_CHANNEL',
|
||||
value: `<#${setting.channel}>`,
|
||||
inline: true
|
||||
},
|
||||
{
|
||||
}, {
|
||||
name: 'GENERAL_ANONYMOUS',
|
||||
value: guild.format('GENERAL_STATE', { bool: setting.anonymous }, { code: true }),
|
||||
inline: true
|
||||
}, {
|
||||
name: 'GENERAL_INFRACTIONS',
|
||||
value: setting.infractions.join(', ')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user