[TypeScript] How to get command
from context?
#1952
Answered
by
MKRhere
hashfi-motion
asked this question in
Q&A
-
As the title said, how do I get |
Beta Was this translation helpful? Give feedback.
Answered by
MKRhere
Feb 21, 2024
Replies: 1 comment 4 replies
-
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also realise
bot.action(/.*/, _before)
will NOT havectx.command
. It's probably better you extract the common logic out of_before
, then call it like so: