abenevaut/laravel-discord-client
最新稳定版本:0.0.2
Composer 安装命令:
composer require abenevaut/laravel-discord-client
包简介
Laravel Http Client Infrastructure
README 文档
README
Installation
You can install the package via composer:
composer require abenevaut/laravel-discord-client
Add discord service to your config/services.php file:
'discord' => [ 'baseUrl' => 'https://discord.com/api', // Discord API URL 'debug' => env('BLUESKY_DEBUG', false), // Debug mode ],
Usage
use Abenevaut\DiscordClient\Facades\Discord; Discord::getClient(): DiscordClient; // Get the Discord client Discord::countFollowers(string $invitationLink): int; // Get the number of followers of a discord server, invitation link looks like "https://discord.gg/pwwPEXcFfU" (prefer the use link without expiration)
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2025-01-28