A sync library for creating self bots in python!
Project description
Example use:
from mentord import *
User_client: Client = Client()
User_client.connect(token='YOUR TOKEN')
Use decorators:
@client.eon_ready.on_ready(client=User_client, delay=5.0)
def client_on_ready() -> None:
print('Self-bot is started!')
@client.eon_message.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!")
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.6.tar.gz
(4.6 kB
view hashes)