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
Release history Release notifications | RSS feed
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)