@skyra/anti-user-gateway

A plugin to remove the user gateway and user settings from Klasa

Usage no npm install needed!

<script type="module">
  import skyraAntiUserGateway from 'https://cdn.skypack.dev/@skyra/anti-user-gateway';
</script>

README

@skyra/anti-user-gateway

This is a plugin that can be used in both klasa/settings (0.5.0-dev) and klasa/next (0.6.0-dev).

This plugin works by registering a custom gateway implementing Gateway, which avoids all I/O operations by making them NOPs. However, this plugin comes with the cost that User#settings cannot be used unless you use class fields.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request!

Author

@skyra/anti-user-gateway © kyranet, released under the MIT License. Authored and maintained by kyranet.

Github kyranet - Twitter @kyranet_