**Introduction**
# NexxClone Documentation
Welcome to the documentation for NexxClone, a Python library for Discord server cloning. This documentation will guide you through the installation, usage, and features of NexxClone.
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Examples](#examples)
- [Contributing](#contributing)
- [License](#license)
**Installation**
# Installation
To get started with NexxClone, you'll need to install it using `pip`. Make sure you have Python 3.6 or higher installed.
```bash
pip install nexxclone
```
**Usage**
# Usage
To use NexxClone, you'll need a Discord bot token and the IDs of the source and destination servers. Follow the example below to get started:
```python
from nexxclone import Clone
import discord
def main():
# Get user input
token = input('Your Token > ')
input_guild_id = input('Your Source Server ID > ')
output_guild_id = input('Your Destination Server ID > ')
# Initialize the Discord client
client = discord.Client()
@client.event
async def on_ready():
print(f"Logged in as: {client.user}")
print("Cloning Server")
# Get source and destination guilds
guild_from = client.get_guild(int(input_guild_id))
guild_to = client.get_guild(int(output_guild_id))
# Prompt user for cloning options
all_in_one = input('Do you want to perform an all-in-one clone? [y/n] > ').lower() == 'y'
if all_in_one:
await Clone.all(guild_from, guild_to)
else:
# Perform individual cloning steps
await Clone.roledelete(guild_to)
await Clone.chdelete(guild_to)
await Clone.rolecreate(guild_to, guild_from)
await Clone.catcreate(guild_to, guild_from)
await Clone.chcreate(guild_to, guild_from)
await Clone.guedit(guild_to, guild_from)
clone_template = input('Do you want to clone the template of the server? [y/n] > ').lower() == 'y'
if clone_template:
await Clone.gutemplate(guild_to)
print("Cloning completed. Exiting in 5 seconds.")
await asyncio.sleep(5)
exit()
# Run the bot with the provided token
client.run(token, bot=False)
if __name__ == "__main__":
main()
```
**Examples**
# Examples
Here are some examples to demonstrate the usage of NexxClone:
- **Basic Server Clone**
```python
await Clone.all(guild_from, guild_to)
```
- **Customized Clone**
```python
await Clone.roledelete(guild_to)
await Clone.chdelete(guild_to)
await Clone.rolecreate(guild_to, guild_from)
await Clone.catcreate(guild_to, guild_from)
await Clone.chcreate(guild_to, guild_from)
await Clone.guedit(guild_to, guild_from)
```
**Contributing**
# Contributing
If you want to contribute to NexxClone, feel free to submit issues or pull requests on our [GitHub repository](https://github.com/noritem/nexx_clone). We welcome any improvements, bug fixes, or new features.
**License**
# License
NexxClone is licensed under the MIT License. See the [LICENSE](https://github.com/noritem/nexx_clone/blob/main/LICENSE) file for details.
Thank you for using NexxClone!
Feel free to customize this template according to your project structure and specific details. Also, make sure to replace the placeholder URLs and GitHub repository links with your actual project information.
# Contributing
Feel free to contribute by opening issues or creating pull requests. Your feedback and suggestions are welcome!
Raw data
{
"_id": null,
"home_page": "https://github.com/noritem/nexx_clone",
"name": "nexxclone",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "discord selfbot clone nexxclone",
"author": "nexxrar",
"author_email": "tech@moxx.tech",
"download_url": "https://files.pythonhosted.org/packages/ee/83/523a200148ddbe8fec2954ed2a903ea849a0734821acc4e3c93575cd043c/nexxclone-1.1.2.tar.gz",
"platform": null,
"description": "\r\n**Introduction**\r\n\r\n# NexxClone Documentation\r\n\r\nWelcome to the documentation for NexxClone, a Python library for Discord server cloning. This documentation will guide you through the installation, usage, and features of NexxClone.\r\n\r\n## Table of Contents\r\n\r\n- [Installation](#installation)\r\n- [Usage](#usage)\r\n- [Examples](#examples)\r\n- [Contributing](#contributing)\r\n- [License](#license)\r\n\r\n**Installation**\r\n\r\n# Installation\r\n\r\nTo get started with NexxClone, you'll need to install it using `pip`. Make sure you have Python 3.6 or higher installed.\r\n\r\n```bash\r\npip install nexxclone\r\n```\r\n\r\n**Usage**\r\n\r\n# Usage\r\n\r\nTo use NexxClone, you'll need a Discord bot token and the IDs of the source and destination servers. Follow the example below to get started:\r\n\r\n```python\r\nfrom nexxclone import Clone\r\nimport discord\r\n\r\ndef main():\r\n # Get user input\r\n token = input('Your Token > ')\r\n input_guild_id = input('Your Source Server ID > ')\r\n output_guild_id = input('Your Destination Server ID > ')\r\n\r\n # Initialize the Discord client\r\n client = discord.Client()\r\n\r\n @client.event\r\n async def on_ready():\r\n print(f\"Logged in as: {client.user}\")\r\n print(\"Cloning Server\")\r\n\r\n # Get source and destination guilds\r\n guild_from = client.get_guild(int(input_guild_id))\r\n guild_to = client.get_guild(int(output_guild_id))\r\n\r\n # Prompt user for cloning options\r\n all_in_one = input('Do you want to perform an all-in-one clone? [y/n] > ').lower() == 'y'\r\n \r\n if all_in_one:\r\n await Clone.all(guild_from, guild_to)\r\n else:\r\n # Perform individual cloning steps\r\n await Clone.roledelete(guild_to)\r\n await Clone.chdelete(guild_to)\r\n await Clone.rolecreate(guild_to, guild_from)\r\n await Clone.catcreate(guild_to, guild_from)\r\n await Clone.chcreate(guild_to, guild_from)\r\n await Clone.guedit(guild_to, guild_from)\r\n\r\n clone_template = input('Do you want to clone the template of the server? [y/n] > ').lower() == 'y'\r\n if clone_template:\r\n await Clone.gutemplate(guild_to)\r\n\r\n print(\"Cloning completed. Exiting in 5 seconds.\")\r\n await asyncio.sleep(5)\r\n exit()\r\n\r\n # Run the bot with the provided token\r\n client.run(token, bot=False)\r\n\r\nif __name__ == \"__main__\":\r\n main()\r\n```\r\n\r\n**Examples**\r\n\r\n# Examples\r\n\r\nHere are some examples to demonstrate the usage of NexxClone:\r\n\r\n- **Basic Server Clone**\r\n ```python\r\n await Clone.all(guild_from, guild_to)\r\n ```\r\n\r\n- **Customized Clone**\r\n ```python\r\n await Clone.roledelete(guild_to)\r\n await Clone.chdelete(guild_to)\r\n await Clone.rolecreate(guild_to, guild_from)\r\n await Clone.catcreate(guild_to, guild_from)\r\n await Clone.chcreate(guild_to, guild_from)\r\n await Clone.guedit(guild_to, guild_from)\r\n ```\r\n\r\n**Contributing**\r\n\r\n# Contributing\r\n\r\nIf you want to contribute to NexxClone, feel free to submit issues or pull requests on our [GitHub repository](https://github.com/noritem/nexx_clone). We welcome any improvements, bug fixes, or new features.\r\n\r\n**License**\r\n\r\n# License\r\n\r\nNexxClone is licensed under the MIT License. See the [LICENSE](https://github.com/noritem/nexx_clone/blob/main/LICENSE) file for details.\r\n\r\nThank you for using NexxClone!\r\n\r\nFeel free to customize this template according to your project structure and specific details. Also, make sure to replace the placeholder URLs and GitHub repository links with your actual project information.\r\n\r\n\r\n# Contributing\r\nFeel free to contribute by opening issues or creating pull requests. Your feedback and suggestions are welcome!\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Discord Selfbot for Clone Discord Server",
"version": "1.1.2",
"project_urls": {
"Homepage": "https://github.com/noritem/nexx_clone"
},
"split_keywords": [
"discord",
"selfbot",
"clone",
"nexxclone"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ee83523a200148ddbe8fec2954ed2a903ea849a0734821acc4e3c93575cd043c",
"md5": "993aa0aae70d25138bc867c437e6a5ec",
"sha256": "baf64f78a37be2a1dcc022cfaaa912676d46c85891a73059fdf08c8c5c55efc5"
},
"downloads": -1,
"filename": "nexxclone-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "993aa0aae70d25138bc867c437e6a5ec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5849,
"upload_time": "2023-12-08T20:59:07",
"upload_time_iso_8601": "2023-12-08T20:59:07.346685Z",
"url": "https://files.pythonhosted.org/packages/ee/83/523a200148ddbe8fec2954ed2a903ea849a0734821acc4e3c93575cd043c/nexxclone-1.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-08 20:59:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "noritem",
"github_project": "nexx_clone",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nexxclone"
}