peterthehan / create-discord-bot

A module-based Discord bot template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accessing Client from Handlers/Commands

shadowtime2000 opened this issue · comments

I think it would be a good idea to add the ability to access the client variable from handlers or commands, so certain commands can display cached data and such.

I have it currently set to pass message so we can access via message.client. Is that not sufficient?