Skip to main content

Sync library from discord self bots.

Project description

Example use

from mentord import *

User_client: Client = Client() 
User_client.connect(token='YOUR TOKEN')

Use decorators:

@User_client.on_message
def client_wait_message(message: Message):
    print('new message!')

@User_client.on_ready
def client_on_ready():
    print('client on connected!')

Send message in channel:

@User_client.on_message
def client_wait_message(message: Message):
    User_client.send_message(content="Hello!", embeds=[], channel_id=message.channel_id)

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

mentord-1.1.4.tar.gz (4.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