-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -465,16 +465,12 @@ await client.sendMentioned( | |
await client.reply( | ||
'[email protected]', | ||
'This is a reply!', | ||
message.id.toString() | ||
); | ||
|
||
// Reply to a message with mention | ||
await client.reply( | ||
'[email protected]', | ||
'Hello @5218113130740 and @5218243160777! This is a reply with mention!', | ||
message.id.toString(), | ||
['5218113130740', '5218243160777'] | ||
); | ||
'[email protected]_7C22WHCB6DKYHJKQIEN9' | ||
).then((result) => { | ||
console.log('Result: ', result); //return object success | ||
}).catch((erro) => { | ||
console.error('Error when sending: ', erro); //return object error | ||
}); | ||
|
||
// Send message with options | ||
await client. | ||
|