Files
awesome-plugins/plugins
Peter-MJ-Parker 21d18bb8eb chore: Update permCheck.ts (#112)
* chore: Update permCheck.ts

Allows users to check member perms before using specific sub command groups, sub commands, and options!

* edit: permCheck - revert back to a function

Reverted permCheck back to a function to avoid breaking changes.

* edit: permCheck.ts

Remove console logs

* formatting permCheck.ts

* edit: Update permCheck.ts

Fixed overall formatting
simplified ephemeral booleans
No longer destructuring interaction from ctx
fixed in guild from not fully returning controller.stop()
remove `no_guild` function in favor of hard coding
imported type CommandType

* edit: Update permCheck.ts

Remove ALL destructures `({ ctx })` --> `(ctx)`

* edit: Update permCheck.ts 

edit response for not being in guild

* edit: permCheck - assigned to object

Remove all breaking changes while maintaining integrity of new features as well as original!

* edit: permCheck - remove un-needed code.

Thanks to Duro for simplifying the code into one function!

---------

Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com>
2024-07-09 15:43:36 -05:00
..
2023-09-02 06:03:11 +00:00
2023-09-02 06:12:08 +00:00
2024-02-23 11:18:10 -06:00
2023-09-02 06:03:11 +00:00
2024-05-06 00:13:02 -05:00
2024-01-04 14:38:22 +05:30
2023-09-02 06:03:11 +00:00
2024-07-09 15:43:36 -05:00
2023-09-02 06:03:11 +00:00
2023-09-02 06:03:11 +00:00