From 0ea470d0839d8c9a863ef3ff0501f4cc5257a13b Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Sun, 3 Apr 2022 01:44:35 -0500 Subject: [PATCH] refactor(context.ts) Obeying ts naming conventions :( --- src/handler/structures/context.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/handler/structures/context.ts b/src/handler/structures/context.ts index 025056a..de0ca9a 100644 --- a/src/handler/structures/context.ts +++ b/src/handler/structures/context.ts @@ -41,7 +41,6 @@ export default class Context { public isEmpty() { return this.oMsg.none && this.oInterac.none; } - public get message() { return this.oMsg.unwrap(); } @@ -54,7 +53,7 @@ export default class Context { * if interaction is None return Context.empty() */ - public map_interaction( + public mapInteraction( cb : ( ctx: I ) => B ) : Context { if (this.oInterac.none) return Context.empty();