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
2024-07-09 15:43:36 -05:00
2023-09-02 10:59:59 +05:30
2022-07-31 11:28:57 +05:30
2022-07-29 09:09:04 +05:30
2023-09-02 11:19:06 +05:30
2023-09-02 11:19:06 +05:30
2024-05-06 05:13:17 +00:00
2022-09-14 22:26:40 +05:30

Awesome discord reposize forks stars

sern Plugins

An awesome list of plugins made by the awesome community, for the awesome community who use the sern framework to develop their Discord Bots.

How to install

As easy as running sern plugins with the CLI. Make sure you have a sern.config.json file at the root of your project.

You can also install them by downloading the file into your project.

Then, read the comments of the plugin file to know how to use them or run /plugin on the discord server

Contributing

Create your plugin by reading the docs, then open a PR. Code it in TypeScript, and a GitHub Action will convert the plugin to JavaScript automatically when merged.

Description
No description provided
Readme 580 KiB
Languages
TypeScript 93.8%
Clojure 6.2%