{"id":16215752,"url":"https://github.com/3ddelano/discord-autotyper-python","last_synced_at":"2025-03-19T10:30:23.866Z","repository":{"id":104967710,"uuid":"366602408","full_name":"3ddelano/discord-autotyper-python","owner":"3ddelano","description":"A python script to auto send commands in Discord or any other program.","archived":false,"fork":false,"pushed_at":"2021-05-15T14:41:55.000Z","size":30,"stargazers_count":15,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T06:03:21.076Z","etag":null,"topics":["auto-type","auto-typer","autotype","autotyper","discord","discord-automation","discord-spammer","python","python-automation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3ddelano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-12T05:28:26.000Z","updated_at":"2024-08-30T13:23:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"17e0cb67-f868-4248-bd26-7a7aa64b1dd5","html_url":"https://github.com/3ddelano/discord-autotyper-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ddelano%2Fdiscord-autotyper-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ddelano%2Fdiscord-autotyper-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ddelano%2Fdiscord-autotyper-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3ddelano%2Fdiscord-autotyper-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3ddelano","download_url":"https://codeload.github.com/3ddelano/discord-autotyper-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244407611,"owners_count":20447820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auto-type","auto-typer","autotype","autotyper","discord","discord-automation","discord-spammer","python","python-automation"],"created_at":"2024-10-10T11:16:16.182Z","updated_at":"2025-03-19T10:30:23.860Z","avatar_url":"https://github.com/3ddelano.png","language":"Python","funding_links":["https://www.buymeacoffee.com/3ddelano"],"categories":[],"sub_categories":[],"readme":"\n# discord-autotyper-python\nA python script to auto send commands in Discord or any other program.\n\u003cbr\u003e\n\u003cimg alt=\"Python3\" src=\"https://img.shields.io/badge/-Python3-3776AB?style=flat-square\u0026logo=Python\u0026logoColor=white\" /\u003e\n\u003eDISCLAIMER\n**Use at your own risk!** I am not responsible if you get banned for spamming or using autotype. I do not take responsibility for how you use this program nor do I recommend you use it in any way that may infringe on any software / buisness.\nThis program is not endorsed or affiliated with Discord or any bot for Discord. Usage of this application may also cause a violation of the agreed Terms of Service between you and Discord or a bot.\n\n# Features\n- #### Start / Stop via hotkey\n- #### Supports sending one time commands via hotkey\n- #### Supports individually timed commands\n- #### Supports ratelimit for sending messages in Discord\n- #### Supports auto stop after certain time\n- #### Supports randomly skipping commands to avoid blacklisting and ban\n\n\n# Installation\nDownload the repo as a zip and extract it to a folder. Open a command prompt in that folder and and then run the command `pip install -r requirements.txt`  (needs Python3 and pip).\n\n# Usage\n- Rename the file `settings-example.json` to `settings.json`.\n- Edit the `settings.json` as per your need (read settings.json section below)\n- Open a command prompt in the folder and run `python autotyper.py` or simply run the file `run.cmd` (Windows)\n  .If you have python3 installed separately run `python3 autotyper.py`\n- Now either go to the discord web app or desktop app and click on the textbox\n- Finally press the hotkey to start the autotyping\n\n\n\n## settings.json\nThis is the configuration file used by the program.\n\n| Key          | Type    | Value                                                                                                   |\n| ------------ | ------- | ------------------------------------------------------------------------------------------------------- |\n| hotkey       | string  | The `KeyCode` of the key to start and stop the autotyping. eg. `Key.f5` or `Key.f6`                     |\n| exitkey      | string  | The `KeyCode` of the key used to exit the program. eg. `Key.f5` or `Key.f6`                             |\n| commandDelay | float   | The delay before sending each command (used for bots which use overall ratelimiting)                    |\n| showKeyCode  | boolean | Used as a helper to show the `KeyCode` of the pressed key                                               |\n| randomSkip   | float   | A value from 0 to 1 indicating whether to skip a command randomly to prevent ban and blacklisting       |\n| randomTime   | integer | The maximum value in seconds to choose the random delay between commands (value is added to `waittime`) |\n| stopAfter   | float | The time in minutes to stop the autotyping after. (set to `-1` for infinite autotype) |\n| commands     | array   | An array of `command object`                                                                            |\n| onetime      | object  | A JS object containing some settings. See `onetime object` below                                        |\n\n#### command object\nEach command is a object with three keys\n\n| Key        | Type    | Value                                                                                                                  |\n| ---------- | ------- | ---------------------------------------------------------------------------------------------------------------------- |\n| text       | string  | The command you want to send                                                                                           |\n| waittime   | integer | The time in seconds to wait before sending the command                                                                 |\n| randomtime | boolean | If enabled, a random delay will be added to the `waittime` so as to reduce the chance of getting banned or blacklisted |\n\n#### onetime object\n| Key      | Type    | Value                                                                            |\n| -------- | ------- | -------------------------------------------------------------------------------- |\n| hotkey   | string  | The `KeyCode` of the key to start the onetime commands. eg. `Key.f7` or `Key.f8` |\n| delay    | integer | The time in seconds to wait before sending each of the onetime commands          |\n| commands | array   | An array of strings each containing the command text to be sent.                 |\n\n## Examples\n##### Single command\nYou want to send the command `pls beg` after every 45s with a random delay. You want a command to be skipped 10% of the time. The start/stop key is F5 and the exit key is F6. Then the following is the `setttings.json` file:\n```json\n{\n    \"hotkey\": \"Key.f5\",\n    \"exitkey\": \"Key.f6\",\n    \"showKeyCode\": false,\n    \"commandDelay\": 1,\n    \"showKeyCode\": false,\n    \"randomSkip\": 0.2,\n    \"randomTime\": 60,\n    \"stopAfter\": -1,\n    \"commands\": [\n        {\n            \"text\": \"pls beg\",\n            \"waittime\": 45,\n            \"randomtime\": true\n        }\n    ],\n    \"onetime\": {\n        \"hotkey\": \"Key.f8\",\n        \"delay\": 3,\n        \"commands\": []\n    }\n}\n```\n##### Multiple commands\nYou want to send the command `pls beg` after every 45s with a random delay, `pls fish` after 40s with no random delay and `pls hunt` after 40s with a random delay. You don't want a command to be skipped randomly. The start/stop key is F9 and the exit key is F10. Then the following will be the `setttings.json` file:\n```json\n{\n    \"hotkey\": \"Key.f9\",\n    \"exitkey\": \"Key.f10\",\n    \"commandDelay\": 1,\n    \"showKeyCode\": false,\n    \"randomSkip\": 0.2,\n    \"randomTime\": 60,\n    \"stopAfter\": -1,\n    \"commands\": [\n        {\n            \"text\": \"pls beg\",\n            \"waittime\": 45,\n            \"randomtime\": true\n        },\n        {\n            \"text\": \"pls fish\",\n            \"waittime\": 40,\n            \"randomtime\": false\n        },\n        {\n            \"text\": \"pls hunt\",\n            \"waittime\": 40,\n            \"randomtime\": true\n        }\n    ],\n    \"onetime\": {\n        \"hotkey\": \"Key.f8\",\n        \"delay\": 3,\n        \"commands\": []\n    }\n}\n```\n##### Using onetime commands\nYou want the commands `pls sell fish all` , `pls sell deer all` and `pls sell bread all` to be sent when the `F7` key is pressed. The delay between each command is 4s.\nThen the following will be the `onetime` object:\n```json\n{\n    \"key\": \"Key.f7\",\n    \"delay\": 4,\n    \"commands\": [\n        \"pls sell fish all\",\n        \"pls sell deer all\",\n        \"pls sell bread all\"\n    ]\n}\n```\n##### Using auto stop after\nYou want the autotype to automatically stop after `4hrs`. Then the following will be the `settings.json` file:\n```json\n{\n    ...,\n    ...,\n    \"stopAfter\": 240,\n    ...,\n    ...\n}\n```\n\n## Prevent Bans and Blacklisting\n- Make a new server with a few channels and invite the bot you want to use the commands on.\n- In `settings.json` make sure to set the `randomSkip` and enable `randomtime` for each command\n- Pause the autotyper often and change channels\n\n## Bugs / Suggestions\nReport any bugs / glitch, or make a suggestion using the github issues section.\n\n## Support\nJoin the Discord Server: [3ddelano Cafe](https://discord.gg/FZY9TqW)\n\u003cbr\u003e\n\u003ca href=\"https://www.buymeacoffee.com/3ddelano\" target=\"_blank\"\u003e\u003cimg height=\"41\" width=\"174\" src=\"https://cdn.buymeacoffee.com/buttons/v2/default-red.png\" alt=\"Buy Me A Coffee\" width=\"150\" \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3ddelano%2Fdiscord-autotyper-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3ddelano%2Fdiscord-autotyper-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3ddelano%2Fdiscord-autotyper-python/lists"}