mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Add new ESLint rules
This commit is contained in:
@@ -81,7 +81,6 @@ class TextBasedChannel {
|
||||
|
||||
if (options.embed && options.embed.file) options.file = options.embed.file;
|
||||
|
||||
// backward compat
|
||||
if (options.file) {
|
||||
if (options.files) options.files.push(options.file);
|
||||
else options.files = [options.file];
|
||||
|
||||
Reference in New Issue
Block a user