method Client.prototype.onimport { Client } from "https://deno.land/x/mtkruto@0.1.118/mod.ts"; on<T extends keyof Update, F extends string>(filter: T extends FilterableUpdates ? T | [T, F, ...F[]] : T, ...middleawre: Middleware<FilterUpdate<C, T, F>>[])Type ParametersT extends keyof UpdateF extends stringParametersfilter: T extends FilterableUpdates ? T | [T, F, ...F[]] : T...middleawre: Middleware<FilterUpdate<C, T, F>>[]