Skip to main content

Debugger for

Project description

ddiscord: debugger for

Powered by This helps you write code for and manage your server via one-liner programs. Tested on v1.0.0 but in theory it works on v0.16.7 and above.


$ ddiscord
 - Debugger for -
Running on Python 3.7.2. Send EOF (Ctrl-D) to exit.
Logged in as YourBot#0000 (012345678901234567)
You can refer to your Client instance as `client` variable. i.e. client.guilds

>>> len(client.guilds)
>>> await client.guilds[0].create_text_channel('test')
<TextChannel id=012345678901234567 name='test' position=1>
>>> for channel in client.get_all_channels():
...     if == 'test':
...         await channel.send('announcement test!')


$ python3 -m pip install ddiscord

Logging On

There are four ways to log into your bot in ddiscord. They are listed below in look up order.

  1. Passing your token as an argument.
  2. Passing your token via standard input. - is needed as a first argument.
  3. Storing your token in a file named token in the current directory.
  4. Passing your token via environment variable DISCORD_TOKEN.
  5. Run ddiscord first, then ddiscord will ask you the token.


$ ddiscord 'YOUR TOKEN HERE'
$ echo 'YOUR TOKEN HERE' | ddiscord -
$ echo 'YOUR TOKEN HERE' >token; ddiscord

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

ddiscord-0.2.3.tar.gz (3.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page