Removed deprecated file option from MessageOptions (#1614)

This commit is contained in:
SpaceEEC
2017-07-04 00:06:29 +02:00
committed by Crawl
parent d266804953
commit ee3a2415e4

View File

@@ -82,11 +82,9 @@ class TextBasedChannel {
if (!options.content) options.content = content;
if (options.embed && options.embed.file) options.file = options.embed.file;
if (options.file) {
if (options.files) options.files.push(options.file);
else options.files = [options.file];
if (options.embed && options.embed.file) {
if (options.files) options.files.push(options.embed.file);
else options.files = [options.embed.file];
}
if (options.files) {