sunflowerfuchs / discord-giveaway-plugin
A plugin for sunflowerfuchs/discord-bot that allows you to set up simple giveaways.
v0.1
2022-08-24 18:45 UTC
Requires
- php: >=8.1
- guzzlehttp/guzzle: ^7.2.0
- pecee/pixie: ^4.15
- spatie/emoji: ^3.0
- sunflowerfuchs/discord-bot: ^v0.1.0
README
A plugin for sunflowerfuchs/discord-bot
Installation
Usage
The following snippet is all that is required to add the plugin to your existing bot:
$bot = new SunflowerFuchs\DiscordBot\Bot($options); // This is the only relevant line $bot->registerPlugin(new SunflowerFuchs\DiscordBot\Plugins\GiveawayPlugin()); $bot->run();