Declares where a plugin may attach. Pass it as the Plugin<Opts> type argument. Every field you
narrow goes to super() as well. attach() fails to compile when the host does not match.
interface PluginOptions
// attaching this to an http bot fails to compileclass Voice extends Plugin<{ transport: 'gateway' }> { constructor(host: CoreBase) { super(host, { transport: 'gateway' }); } public async init(): Promise<void> {}}