Skip to main content

Create

Create Method

Table Of Create Method

Parameters

  • messages (Discord Chat Messages Collection)
create(messages)

Example Usage

let messages = await channel.messages.fetch();
await chat.create(messages);

Returned Data

Returns Created Chat Object

  • ID (Chat ID)
  • url (Chat URL)
{
"ID": "1",
"url": "https://logs.chat/chat/1"
}