Modify .toggleimages format

This commit is contained in:
Wizzard 2024-02-08 20:23:33 -05:00
parent 9efbbb7767
commit 3f560ba52f
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ client.on('messageCreate', async message => {
let response = "Image forwarding status for channels:\n"; let response = "Image forwarding status for channels:\n";
Object.keys(channelMappings).forEach(sourceChannelId => { Object.keys(channelMappings).forEach(sourceChannelId => {
const status = channelSettings.includeImages[sourceChannelId] ? "Enabled" : "Disabled"; const status = channelSettings.includeImages[sourceChannelId] ? "Enabled" : "Disabled";
response += `- <#${sourceChannelId}>: ${status}\n`; response += `- <#${sourceChannelId}> - (sourceChannelId): ${status}\n`;
}); });
return message.channel.send(response).then(msg => setTimeout(() => msg.delete(), 10000)); return message.channel.send(response).then(msg => setTimeout(() => msg.delete(), 10000));
} else if (args.length === 2) { } else if (args.length === 2) {