UNPKG

@kamkam1_0/discord.js

Version:

Allows you to fully interact with discord's apis

19 lines (17 loc) 511 B
const Message = require("./message") const threadMethod = require("../../methods/threads") class threadMessage extends Message{ constructor(data, bot){ super(data, bot) } createThread(options){ let informations = { botToken: this._token, bot: this._bot, message_id: this.id, channel_id: this.channel_id } return threadMethod.create_withm(informations, options) } } module.exports = threadMessage