An open API service indexing awesome lists of open source software.

https://github.com/laith98dev/credits

Plugin credits like discord probot
https://github.com/laith98dev/credits

Last synced: 8 months ago
JSON representation

Plugin credits like discord probot

Awesome Lists containing this project

README

          

# Credits
- Plugin credits like discord probot.

# Commands
Command | Description | Aliases
--- | --- | ---
`/credits` | `To see your credits` | `/c`
`/credits ` | `To see the credits of a specific person` | `/c `
`/credits ` | `Transfer credits to someone` | `/c `
`/daily` | `To get your daily reward` | `/d`

# API

- use Laith98Dev\Credits\Main;
- $api = Main::getInstance();
- $api->getCredits(Player); // to get player credits
- $api->addCredits(Player, $count); // to add credits
- $api->reduceCredits(Player, $count); // to reduce credits
- $api->transferCredits(Player, $toName, $count, $reason); // to transfer credits

# Other

- [![Donate](https://img.shields.io/badge/donate-Paypal-yellow.svg?style=flat-square)](https://paypal.me/Laith113)