# PyDiscordSelf
Cette librairie permet de créer des selfbots Discord.
## Exemple
```python
import pydiscordself
import json
global config
with open("./config.json", "r") as configFile:
config = json.load(configFile)
selfbot = pydiscordself.SelfBot(config["token"])
def on_ready(_data):
print("SelfBot is READY !")
def on_message(data):
print(data["content"])
selfbot.addEventListener("READY", on_ready)
selfbot.addEventListener("MESSAGE_CREATE", on_message)
selfbot.start()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/8borane8/pydiscordself",
"name": "pydiscordself",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "discord,selfbot",
"author": "borane",
"author_email": "",
"download_url": "",
"platform": null,
"description": "\r\n# PyDiscordSelf\r\n\r\nCette librairie permet de cr\u00e9er des selfbots Discord.\r\n\r\n## Exemple\r\n\r\n```python\r\nimport pydiscordself\r\nimport json\r\n\r\nglobal config\r\nwith open(\"./config.json\", \"r\") as configFile:\r\n config = json.load(configFile)\r\n\r\nselfbot = pydiscordself.SelfBot(config[\"token\"])\r\n\r\ndef on_ready(_data):\r\n print(\"SelfBot is READY !\")\r\n\r\ndef on_message(data):\r\n print(data[\"content\"])\r\n\r\nselfbot.addEventListener(\"READY\", on_ready)\r\nselfbot.addEventListener(\"MESSAGE_CREATE\", on_message)\r\n\r\nselfbot.start()\r\n```\r\n",
"bugtrack_url": null,
"license": "ISC",
"summary": "Cette librairie permet de cr\u00e9er des selfbots Discord.",
"version": "0.2",
"project_urls": {
"Homepage": "https://github.com/8borane8/pydiscordself"
},
"split_keywords": [
"discord",
"selfbot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0693fade72e4882e86fb8690cba41a435c8783e2065a81bafaebfe8488b5dbb3",
"md5": "d9a229ed853455f93752c752f8da3aa4",
"sha256": "653b843c97f262e54bbf2d06fab96ed062e5bf6125945db02914c8a9bdf56bac"
},
"downloads": -1,
"filename": "pydiscordself-0.2-py3.11.egg",
"has_sig": false,
"md5_digest": "d9a229ed853455f93752c752f8da3aa4",
"packagetype": "bdist_egg",
"python_version": "0.2",
"requires_python": ">=3.6",
"size": 6496,
"upload_time": "2023-07-01T19:22:24",
"upload_time_iso_8601": "2023-07-01T19:22:24.682535Z",
"url": "https://files.pythonhosted.org/packages/06/93/fade72e4882e86fb8690cba41a435c8783e2065a81bafaebfe8488b5dbb3/pydiscordself-0.2-py3.11.egg",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-01 19:22:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "8borane8",
"github_project": "pydiscordself",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pydiscordself"
}