From 26ebe1b79bc41b6c686e8f41c2e15a2354e13c2e Mon Sep 17 00:00:00 2001 From: Roman <68429513+SayHelloRoman@users.noreply.github.com> Date: Thu, 16 Sep 2021 23:34:16 +0300 Subject: [PATCH] Delete boticordpy.egg-info directory --- boticordpy.egg-info/PKG-INFO | 84 ------------------------ boticordpy.egg-info/SOURCES.txt | 17 ----- boticordpy.egg-info/dependency_links.txt | 1 - boticordpy.egg-info/requires.txt | 2 - boticordpy.egg-info/top_level.txt | 1 - 5 files changed, 105 deletions(-) delete mode 100644 boticordpy.egg-info/PKG-INFO delete mode 100644 boticordpy.egg-info/SOURCES.txt delete mode 100644 boticordpy.egg-info/dependency_links.txt delete mode 100644 boticordpy.egg-info/requires.txt delete mode 100644 boticordpy.egg-info/top_level.txt diff --git a/boticordpy.egg-info/PKG-INFO b/boticordpy.egg-info/PKG-INFO deleted file mode 100644 index 3a3573a..0000000 --- a/boticordpy.egg-info/PKG-INFO +++ /dev/null @@ -1,84 +0,0 @@ -Metadata-Version: 2.1 -Name: boticordpy -Version: 1.4 -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 -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 - -

Boticordpy

- -

Модуль для работы с Boticord API

- -

- - -

- ---- -* [Документация](https://boticordpy.readthedocs.io/) -* [Исходный код](https://github.com/grey-cat-1908/boticordpy) ---- - -### Примеры - -#### Без Когов -Публикуем статистику при запуске бота. - -```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") -``` - -#### С Когами - -Ког с автоматической публикацией статистики раз в 15 минут + команда для публикации статистики для владельца бота. - -```python -from discord.ext import commands - -from boticordpy import BoticordClient - - -class BoticordCog(commands.Cog): - def __init__(self, bot): - self.bot = bot - self.boticord = BoticordClient(self.bot, "your-boticord-token") - self.boticord.start_loop() - - @commands.command(name="boticord-update") - @commands.is_owner() - async def boticord_update(self, ctx): - """ - This commands can be used by owner to post stats to boticord - """ - stats = {"servers": len(self.bot.guilds), "shards": 0, "users": len(self.bot.users)} - await self.boticord.Bots.postStats(stats) - - -def setup(bot): - bot.add_cog(BoticordCog(bot)) - -``` - - diff --git a/boticordpy.egg-info/SOURCES.txt b/boticordpy.egg-info/SOURCES.txt deleted file mode 100644 index e6b8420..0000000 --- a/boticordpy.egg-info/SOURCES.txt +++ /dev/null @@ -1,17 +0,0 @@ -LICENSE.txt -README.md -setup.py -boticordpy/__init__.py -boticordpy/client.py -boticordpy/config.py -boticordpy/exceptions.py -boticordpy/webhook.py -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/modules/__init__.py -boticordpy/modules/bots.py -boticordpy/modules/servers.py -boticordpy/modules/users.py \ No newline at end of file diff --git a/boticordpy.egg-info/dependency_links.txt b/boticordpy.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/boticordpy.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/boticordpy.egg-info/requires.txt b/boticordpy.egg-info/requires.txt deleted file mode 100644 index b9465ab..0000000 --- a/boticordpy.egg-info/requires.txt +++ /dev/null @@ -1,2 +0,0 @@ -discord.py -aiohttp diff --git a/boticordpy.egg-info/top_level.txt b/boticordpy.egg-info/top_level.txt deleted file mode 100644 index 6140ae2..0000000 --- a/boticordpy.egg-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -boticordpy