Skip to main content

Ассинхронный клиент для API EnjoyMickeyBot

Project description

EnjoyAPI

Ассинхронный клиент для API EnjoyMickeyBot

Установка:

  Через GIT:

$ pip install git+https://github.com/KotypeyPyEdition/EnjoyAPI

Через Pypi:

$ pip install EnjoyAPI

Пример:

from EnjoyAPI.EnjoyAPI import EnjoyAPI


from discord.ext import commands

bot = commands.Bot(command_prefix='>>')

enjoyClient = EnjoyAPI(bot, 'ваш токен тут')
@bot.command()
async def checkUser(ctx: commands.Context, userID: int):
    data = await enjoyClient.check(userID)
    await ctx.send(f'Вот данные от пользователя с ID, ```{data}```')


bot.run('тут токен бота')

Ключ не давали, не тестил, если будут проблемы/вопросы Issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EnjoyAPI-1.2.tar.gz (2.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page