bch
This commit is contained in:
parent
35d1299897
commit
1fda5903d0
|
@ -27,7 +27,7 @@ module.exports = class DiscordMessageSender {
|
||||||
var pp = this.pp;
|
var pp = this.pp;
|
||||||
delete this.pp;
|
delete this.pp;
|
||||||
if (pp.content.length > 2000) {
|
if (pp.content.length > 2000) {
|
||||||
pp.files = [{name: "message.txt", file: Buffer.from(pp.content)}];
|
pp.files = [{name: "message.txt", attachment: Buffer.from(pp.content)}];
|
||||||
delete pp.content;
|
delete pp.content;
|
||||||
}
|
}
|
||||||
//this.webhook.send(pp).catch(error => {
|
//this.webhook.send(pp).catch(error => {
|
||||||
|
|
Loading…
Reference in New Issue