Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Latest commit

 

History

History
16 lines (13 loc) · 907 Bytes

createDMMessage.md

File metadata and controls

16 lines (13 loc) · 907 Bytes

createDMMessage

Utility for creating DM messages without hassle

author.createMessage(content, file); user.createMessage(content, file);

Parameter Type Default Description
[content] Object|String Message data
[file] MessageFile|Array<MessageFile> Message File

client.createDMMessage(userID, content, file);

Parameter Type Default Description
userID String Channel ID
[content] Object|String Message data
[file] MessageFile|Array<MessageFile> Message File