This commit is contained in:
Erik 2020-07-11 23:39:05 +03:00
parent a313ddf53f
commit 7fe698adf8
2 changed files with 4 additions and 5 deletions

View File

@ -24,14 +24,13 @@ class MemberLogsSetting extends Setting {
'memberlogs #channel',
'memberlogs join|leave <message>',
'memberlogs reset',
'memberlogs off',
'memberlogs #channel'
'memberlogs off'
],
default: {
memberLog: {
channel: null,
joinMessage: '<@{id}> joined the server.',
leaveMessage: '<@{id}> left the server.'
joinMessage: '{mention} joined the server.',
leaveMessage: '**{tag}** ({id}) left the server.'
}
},
arguments: [

View File

@ -142,7 +142,7 @@ class MessageLogsSetting extends Setting {
} else if (['attachments', 'images', 'attachment', 'image'].includes(method)) {
if (guild.premium < 2) return {
msg: message.format('PREMIUM_2', { tier: guild.premium }),
msg: message.format('PREMIUM_REQUIRED', { required: 2, tier: guild.premium }),
error: true
}
if (!args.length) return {