sunflowerfuchs / discord-tiktok-plugin
A plugin for sunflowerfuchs/discord-bot that adds improved tiktok embedding.
v0.1
2022-08-24 16:07 UTC
Requires
- php: >=8.1
- gingteam/tiktok: dev-main
- guzzlehttp/guzzle: ^7.2.0
- 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\TiktokPlugin\TiktokPlugin()); $bot->run();