mirror of
https://github.com/boticord/boticordpy.git
synced 2024-09-22 19:32:01 +03:00
pypi build 1.3.6
This commit is contained in:
parent
fb960f4217
commit
ea39b4ff41
2 changed files with 45 additions and 38 deletions
|
@ -1,49 +1,52 @@
|
|||
Metadata-Version: 2.1
|
||||
Name: boticordpy
|
||||
Version: 1.3.5
|
||||
Version: 1.3.6
|
||||
Summary: Simple Python Module for boticord api
|
||||
Home-page: https://github.com/grey-cat-1908/boticordpy
|
||||
Author: KerdokuCat
|
||||
Author-email: support@kerdoku.top
|
||||
License: MIT
|
||||
Description: <h1 align="center">Boticordpy</h1>
|
||||
|
||||
<p align="center">Модуль для работы с <a href="https://boticord.top/">Boticord</a> API</p>
|
||||
|
||||
<p align="center">
|
||||
|
||||
<img src="https://img.shields.io/pypi/dm/boticordpy" alt="">
|
||||
</p>
|
||||
|
||||
---
|
||||
* [Документация](https://boticordpy.readthedocs.io/)
|
||||
* [Исходный код](https://github.com/grey-cat-1908/boticordpy)
|
||||
---
|
||||
|
||||
### Примеры
|
||||
|
||||
Публикуем статистику нашего бота в Boticord.
|
||||
|
||||
```Python
|
||||
from discord.ext import commands
|
||||
|
||||
from boticordpy import BoticordClient
|
||||
|
||||
bot = commands.Bot(command_prefix="!")
|
||||
boticord = BoticordClient(bot, "your-boticord-token")
|
||||
|
||||
|
||||
@bot.event
|
||||
async def on_connect():
|
||||
stats = {"servers": len(bot.guilds), "shards": bot.shard_count, "users": len(bot.users)}
|
||||
await boticord.Bots.postStats(stats)
|
||||
|
||||
|
||||
bot.run("your-bot-token")
|
||||
```
|
||||
|
||||
Platform: UNKNOWN
|
||||
Classifier: License :: OSI Approved :: MIT License
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.7
|
||||
Description-Content-Type: text/markdown
|
||||
License-File: LICENSE.txt
|
||||
|
||||
<h1 align="center">Boticordpy</h1>
|
||||
|
||||
<p align="center">Модуль для работы с <a href="https://boticord.top/">Boticord</a> API</p>
|
||||
|
||||
<p align="center">
|
||||
|
||||
<img src="https://img.shields.io/pypi/dm/boticordpy" alt="">
|
||||
</p>
|
||||
|
||||
---
|
||||
* [Документация](https://boticordpy.readthedocs.io/)
|
||||
* [Исходный код](https://github.com/grey-cat-1908/boticordpy)
|
||||
---
|
||||
|
||||
### Примеры
|
||||
|
||||
Публикуем статистику нашего бота в Boticord.
|
||||
|
||||
```Python
|
||||
from discord.ext import commands
|
||||
|
||||
from boticordpy import BoticordClient
|
||||
|
||||
bot = commands.Bot(command_prefix="!")
|
||||
boticord = BoticordClient(bot, "your-boticord-token")
|
||||
|
||||
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
stats = {"servers": len(bot.guilds), "shards": bot.shard_count, "users": len(bot.users)}
|
||||
await boticord.Bots.postStats(stats)
|
||||
|
||||
|
||||
bot.run("your-bot-token")
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -9,4 +9,8 @@ boticordpy.egg-info/PKG-INFO
|
|||
boticordpy.egg-info/SOURCES.txt
|
||||
boticordpy.egg-info/dependency_links.txt
|
||||
boticordpy.egg-info/requires.txt
|
||||
boticordpy.egg-info/top_level.txt
|
||||
boticordpy.egg-info/top_level.txt
|
||||
boticordpy/modules/__init__.py
|
||||
boticordpy/modules/bots.py
|
||||
boticordpy/modules/servers.py
|
||||
boticordpy/modules/users.py
|
Loading…
Reference in a new issue