A python package for creating bots that pretend to be real users
Project description
discord_impostor
A python package for creating Discord bots that pretend to be real users
Installation
To install discord_impostor, simply run pip install discord_impostor
Basic Usage
To login into Discord with discord_imposter, you need to create and authorize an "Agent".
from DiscordImpostor.Agent import Agent
agent = Agent()
agent.login('<your-email-here>', '<your-password-here>')
An agent can do many of the actions a normal user can. For example, an agent can read / write messages in a channel
from DiscordImpostor.Channel import Channel
channel = Channel('<channel-id>', agent)
channel.load()
latest_msg = channel.get_newest_msg()
print(latest_msg.content)
channel.send_msg('Hello World!')
To see the full functionality, take a look at the source code.
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
DiscordImpostor-1.0.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for DiscordImpostor-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3da5977f26bcf2632adf5fa3ddde167bd2f18331bbf194c869d9fcb7794bed4 |
|
MD5 | 0eda3558ea06b240044a0a98b7aaccf9 |
|
BLAKE2b-256 | 7c58c5300dd967fae565dfd1f9da3712f7ec321e93d473b3dd6715b5524ce421 |