diff --git a/src/handler/sern.ts b/src/handler/sern.ts index 08167ef..83935fa 100644 --- a/src/handler/sern.ts +++ b/src/handler/sern.ts @@ -102,7 +102,7 @@ export class Handler { if (parsedArgs.err) return parsedArgs.val; - return (await module.mod.execute?.(context, parsedArgs) as possibleOutput | undefined); + return (module.mod.execute?.(context, parsedArgs) as possibleOutput | undefined); } /** @@ -148,7 +148,7 @@ export class Handler { const args = message.content.slice(this.prefix.length).trim().split(/s+/g); const parsedArgs = module.mod.parse?.(context, ['text', args]) ?? Ok(args); if (parsedArgs.err) return parsedArgs.val; - return (await module.mod.execute?.(context, parsedArgs) as possibleOutput | undefined); + return (module.mod.execute?.(context, parsedArgs) as possibleOutput | undefined); } /** @@ -273,9 +273,6 @@ export class Handler { } - - - /** * @enum { number }; */