Modify .toggleimages format
This commit is contained in:
parent
9efbbb7767
commit
3f560ba52f
2
main.js
2
main.js
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue