beforeNewThread hook type fixes
parent
f5b6e46040
commit
5c6df913bf
|
@ -21,19 +21,19 @@ const Eris = require("eris");
|
|||
*/
|
||||
|
||||
/**
|
||||
* @callback BeforeNewThreadHookData
|
||||
* @callback BeforeNewThreadHookFn
|
||||
* @param {BeforeNewThreadHookData} data
|
||||
* @return {void|Promise<void>}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @callback AddBeforeNewThreadHookFn
|
||||
* @param {BeforeNewThreadHookData} fn
|
||||
* @param {BeforeNewThreadHookFn} fn
|
||||
* @return {void}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @type BeforeNewThreadHookData[]
|
||||
* @type BeforeNewThreadHookFn[]
|
||||
*/
|
||||
const beforeNewThreadHooks = [];
|
||||
|
||||
|
|
Loading…
Reference in New Issue