mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
fixed mentions even though they will be changed in the future... why
This commit is contained in:
@@ -393,7 +393,9 @@ export default class InternalClient {
|
||||
.then(destination => {
|
||||
//var destination;
|
||||
var content = this.resolver.resolveString(_content);
|
||||
var mentions = this.resolver.resolveMentions(content);
|
||||
var resolved = this.resolver.resolveMentions(content);
|
||||
|
||||
var mentions = resolved[0], content = resolved[1];
|
||||
|
||||
return this.apiRequest("post", Endpoints.CHANNEL_MESSAGES(destination.id), true, {
|
||||
content: content,
|
||||
|
||||
Reference in New Issue
Block a user