Skip to main content

The Python framework for interacting with Mikoto

Project description

Mikoto.py

Warning: Mikoto.py is still in early development and is not ready for production use.

Mikoto.py is the official Python library for interacting with the Mikoto API.

Example

import mikoto

MIKOTO_TOKEN = '<bot token>'

bot = mikoto.MikotoClient()

@bot.messages.on_create
async def messaging(msg: mikoto.Message):
    if msg.content == "!ping":
        await bot.messages.send(msg.channelId, "pong!")

@bot.client.ready
async def ready():
    # fires when the bot has fully connected to the API
    print('Ready!')

bot.login(MIKOTO_TOKEN)

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

mikoto_py-0.0.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

mikoto_py-0.0.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file mikoto_py-0.0.3.tar.gz.

File metadata

  • Download URL: mikoto_py-0.0.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.10 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for mikoto_py-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a3267bb10e7807c0be487e6d5af136390c4e5b5b2806fe410763cc7d38327ffb
MD5 b57cbfee9db7ae1e27f1708c4d0fee2f
BLAKE2b-256 56693c627d3be35ca677343bfff9d10a52d833121c8945066b7cf3fd75b08893

See more details on using hashes here.

File details

Details for the file mikoto_py-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: mikoto_py-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.8.10 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for mikoto_py-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6495e50d31a52a05ac2050f1a5f332a620c16f9b662aed8e4c9e6af169beaaa7
MD5 b476aac9b9a97605232d192dd4d01851
BLAKE2b-256 2c27f862735516fbedfb5115504885809eac9f934b08878d455f01e4db860504

See more details on using hashes here.

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