mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
join arrays with new lines when sending as messages
This commit is contained in:
@@ -49,7 +49,7 @@ class RESTMethods {
|
||||
sendMessage(channel, content, tts, nonce, file) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const $this = this;
|
||||
|
||||
content = this.rest.client.resolver.resolveString(content);
|
||||
function req() {
|
||||
$this.rest.makeRequest('post', Constants.Endpoints.channelMessages(channel.id), true, {
|
||||
content, tts, nonce,
|
||||
|
||||
Reference in New Issue
Block a user