Skip to main content

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 DiscordImpostor, simply run pip install DiscordImpostor

Basic Usage

To login into Discord with DiscordImposter, 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.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

DiscordImpostor-1.0.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file DiscordImpostor-1.0.3.tar.gz.

File metadata

  • Download URL: DiscordImpostor-1.0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.6

File hashes

Hashes for DiscordImpostor-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ce09dacf28c07ea8318c40b7fa01f1b61f1a7a3661eccb3f85951c6afc5ce6ec
MD5 e102eae99e35af840057fcfdb55074ac
BLAKE2b-256 4fc6edb0b298153976522632dbc464c42c45c61a8f528199e533a8636fc844dd

See more details on using hashes here.

File details

Details for the file DiscordImpostor-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: DiscordImpostor-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.6

File hashes

Hashes for DiscordImpostor-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c689b16bc8f554d67bc547bbfe7861cd8b7a83d271d545ea8343400440abb6f0
MD5 ba857b00efe8c061d23b16b5428e50c3
BLAKE2b-256 f59097a0ef8299d7d0b54cb7e76c57b1de5b3706119675ca897cf8db69dc1ae5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page