import { Message } from "discord.js" ; import { default as CookiecordClient , listener , Module } from "../../src" ; export default class ReferencedModule extends Module { constructor ( client , public readonly data ) { super ( client ) ; } @ listener ( { event : "ready" } ) onMessage ( msg ) { console . log ( "referencedModule ready" , this . data ) ; } }