Skip to main content

Hivatalos MDBL API wrapper Pythonhoz!

Példa

import mdbl
import discord
from discord.ext import commands
import asyncio

class MDBLAPI(commands.Cog):

    def __init__(self, bot):
        self.bot = bot
        self.mdbl = mdbl.MDBL()

    @commands.command()
    async def link(self, ctx):
        mdbl_link = self.mdbl.botlink(bot.user.id)
        await ctx.send(mdbl_link)

def setup(bot):
    bot.add_cog(MDBLAPI(bot))

Metadata

Release files for mdbl 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mdbl 1.0.8
File Size Uploaded
mdbl-1.0.8.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mdbl 1.0.8
File Interpreter ABI Platform
mdbl-1.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 kB

Release files / mdbl-1.0.8.tar.gz

Download URL mdbl-1.0.8.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8a3ca3eaf17ad249f886e04b6804b72cb8c4e9736769e2b923e77862afbc1ce4
BLAKE2b-256 checksum
How to use checksums
372562218ac380b0576bf24b938aaf644531702ecbc21492aaf4fe24928cc168
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release files / mdbl-1.0.8-py3-none-any.whl

Download URL mdbl-1.0.8-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6adad93c39d6f11380cf5e5cd614a48b242da617140c3ae7c1fa70ffebeec452
BLAKE2b-256 checksum
How to use checksums
2db3e92a310c022553bedc0132a69c9af20c8cd763699e02c2222918825f601f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

Release history Release notifications | RSS feed

This release

1.0.8 This release

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page