{ "info": { "author": "Wyatt Lindquist", "author_email": "git.wquist@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: Unix", "Programming Language :: Python :: 3.7" ], "description": "# `DECbot`\n\n_A Discord bot that uses DECtalk text-to-speech (think Stephen Hawking or\nMoonbase Alpha)._\n\n`DECbot` uses [wine](https://www.winehq.org/) and the original DECtalk `say.exe`\nto synthesize text from text chat into a voice channel. The bot offers a set of\ncommands allowing users to control how and where `DECbot` synthesizes speech.\nThe bot can also take multiple commands at once, allowing multiple sounds and\nvoices to be played back at the same time.\n\n\n# Requirements\n\n- [Python 3](https://www.python.org/)\n- [wine](https://www.winehq.org/)\n- A copy of the DECtalk executable and support. This includes `say.exe`,\n `dectalk.dll`, and the dictionary, `dtalk_us.dic`.\n\n\n# Commands\n\n`DECbot` can synthesize text into different voice channels depending on the\ncommand:\n- `!dec talk ` plays the text back in the current voice channel.\n- `!dec tell <@mention> ` plays the text back in the voice channel of the\n user mentioned.\n\nThe presence of `DECbot` can also be controlled (to minimize annoyance):\n- `!dec quiet` stops the currently playing text immediately.\n- `!dec leave` forces the bot to leave its current voice channel.\n\nBoth TTS commands run using the \"Perfect Paul\" voice with phonemes enabled (so\nthe bot can \"sing\"). Additional options can be specified as they would in a\nnormal `say.exe` command: with brackets and a colon (`[:command]`). For example,\n`DECbot` can talk as \"Frail Frank\" by starting the text with `[:nf]`.\n\n\n# Installation\n\n```bash\n$ pip install decbot\n```\n\nThe bot can also be run from source as a module. In the top level directory:\n\n```bash\n$ python -m decbot\n```\n\n\n# Running\n\nA new Discord bot must be set up before the application can be run:\n\n1. Create a new Discord application in the\n [developer portal](http://discordapp.com/developers/applications/me).\n2. Fill in the general information, and note the **Client ID** on this page.\n3. Set up your bot in the \"Bot\" tab. Note the **Token** on this page.\n\nNext, to start the application:\n\n1. Create a `DECbot` configuration file. At minimum, this must have the bot\n `token`, and the path to the DECtalk executable, `tts.bin`.\n2. Get an invite link (the `client` field must be specified in the config):\n\n\t```bash\n\t$ decbot --invite\n\t```\n\n3. Have the Discord server administrator add the bot. Note that it must be\n granted the ability to read and send text messages, and be able to view,\n join, and talk in voice channels.\n4. Start the bot. The application looks for a configuration file in the same\n directory called `.decbot`. Specify a different path as follows:\n\n\t```bash\n\t$ decbot --config /path/to/my/config\n\t```\n\n5. To stop the bot, the application can be stopped from the command line, or\n the owner can issue `!dec quit` in the Discord server chat.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wquist/DECbot", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "decbot", "package_url": "https://pypi.org/project/decbot/", "platform": "", "project_url": "https://pypi.org/project/decbot/", "project_urls": { "Homepage": "https://github.com/wquist/DECbot" }, "release_url": "https://pypi.org/project/decbot/1.0.0/", "requires_dist": [ "discord.py", "pydub", "pynacl", "pyyaml" ], "requires_python": "", "summary": "a Discord bot that uses DECtalk text-to-speech", "version": "1.0.0" }, "last_serial": 5750856, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "2ad4bc44d3b77c38aee12b18d16f2032", "sha256": "2174b5743f5b7b62a66975270bb1785998e20b6270acf045f81413c32da10b48" }, "downloads": -1, "filename": "decbot-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2ad4bc44d3b77c38aee12b18d16f2032", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15118, "upload_time": "2019-08-29T10:03:45", "url": "https://files.pythonhosted.org/packages/ba/3b/6c44aedd4094708b57a00b45f5ceb1c81c311e445c53acb4d5f68ad65d17/decbot-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c7306edd745faad55e3ff2e081d2b36", "sha256": "780abd06cfa3ab28a88fa8de7d1c64ca60b2d10a96f4659debfeb616a344eaef" }, "downloads": -1, "filename": "decbot-1.0.0.tar.gz", "has_sig": false, "md5_digest": "7c7306edd745faad55e3ff2e081d2b36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11506, "upload_time": "2019-08-29T10:03:48", "url": "https://files.pythonhosted.org/packages/57/50/18006a9bb7afe2c6a1c70139164c3728a14c54888e08284f3b10476705af/decbot-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2ad4bc44d3b77c38aee12b18d16f2032", "sha256": "2174b5743f5b7b62a66975270bb1785998e20b6270acf045f81413c32da10b48" }, "downloads": -1, "filename": "decbot-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2ad4bc44d3b77c38aee12b18d16f2032", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15118, "upload_time": "2019-08-29T10:03:45", "url": "https://files.pythonhosted.org/packages/ba/3b/6c44aedd4094708b57a00b45f5ceb1c81c311e445c53acb4d5f68ad65d17/decbot-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c7306edd745faad55e3ff2e081d2b36", "sha256": "780abd06cfa3ab28a88fa8de7d1c64ca60b2d10a96f4659debfeb616a344eaef" }, "downloads": -1, "filename": "decbot-1.0.0.tar.gz", "has_sig": false, "md5_digest": "7c7306edd745faad55e3ff2e081d2b36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11506, "upload_time": "2019-08-29T10:03:48", "url": "https://files.pythonhosted.org/packages/57/50/18006a9bb7afe2c6a1c70139164c3728a14c54888e08284f3b10476705af/decbot-1.0.0.tar.gz" } ] }