mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Webpack build for branch master: 5bfc688bb0
This commit is contained in:
parent
19a911a971
commit
5ea6f19ae7
2 changed files with 3 additions and 3 deletions
|
|
@ -7137,7 +7137,7 @@ class TextBasedChannel {
|
|||
}
|
||||
|
||||
if (options.files) {
|
||||
for (const i in options.files) {
|
||||
for (let i = 0; i < options.files.length; i++) {
|
||||
let file = options.files[i];
|
||||
if (typeof file === 'string') file = { attachment: file };
|
||||
if (!file.name) {
|
||||
|
|
@ -9795,7 +9795,7 @@ class Webhook {
|
|||
}
|
||||
|
||||
if (options.files) {
|
||||
for (const i in options.files) {
|
||||
for (let i = 0; i < options.files.length; i++) {
|
||||
let file = options.files[i];
|
||||
if (typeof file === 'string') file = { attachment: file };
|
||||
if (!file.name) {
|
||||
|
|
|
|||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue