Example use:
from mentord import *
User_client: Client = Client()
User_client.connect(token='YOUR TOKEN')
Use decorators:
@on_ready(client=User_client, delay=5.0)
def client_on_ready() -> None:
print('Self-bot is started!')
@on_message(client=User_client, delay=0.5)
def client_on_message(message: Message) -> None:
utils.channel_opers.ChannelOperations(channel=message.channel_id, client=User_client).send_message("hello!")
Metadata
Release files for mentord 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mentord-1.2.0.tar.gz | 4.4 kB | Details |
Release files / mentord-1.2.0.tar.gz
| Download URL | mentord-1.2.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
371a5e27e67d78a3c386820f9ee7a1929f9811ad235b18491c3d7771c618bab7
|
|
BLAKE2b-256 checksum How to use checksums |
f1ae45ee45cab5f7bd04b6992d327d995a0148c81964c51b41c9ea583dd96f7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|