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.4.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mikoto_py-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 9f7c831a439676418eb0241b362e7b4f0f997e327d619a7e81de0a782cb13073
MD5 b30607142f482336eb4c3f6f408e7ad9
BLAKE2b-256 ed05d515d96f7883cc04eb059242824e07d8aadfd778d38798088a92c8f4c005

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mikoto_py-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e8ae22a8d6701ea7b19c4dbb4d7b44d40615832abe2a19c64bbac9cb281e0053
MD5 792276bd7b753a2149a38e579cb6c504
BLAKE2b-256 5d152b8599f503b75a4f13e1a6701a13d1993d939f96c35e1c2fb3169c0ac2a8

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