NexxClone 240702F
Skip to main content
PyPI
Menu
Search PyPI
Search projects
Search
nexxclone 1.1.2
pip install nexxcloneCopy PIP instructions
Latest version
Released: Dec 8, 2023
A Discord Selfbot for Clone Discord Server
Project description
Project details
Release history
Download files
Project description
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
Usage
Examples
Contributing
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.
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:
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
await Clone.all(guild_from, guild_to)
Customized Clone
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. We welcome any improvements, bug fixes, or new features.
License
License
NexxClone is licensed under the MIT License. See the 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!
Help
Installing packages
Uploading packages
User guide
Project name retention
FAQs
About PyPI
PyPI on Twitter
Infrastructure dashboard
Statistics
Logos & trademarks
Our sponsors
Contributing to PyPI
Bugs and feedback
Contribute on GitHub
Translate PyPI
Sponsor PyPI
Development credits
Using PyPI
Code of conduct
Report security issue
Privacy policy
Terms of use
Acceptable Use Policy
Status: Service Under Maintenance
Developed and maintained by the Python community, for the Python community.
Donate today!
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2024 Python Software Foundation
Site map
Switch to desktop version
English español français 日本語 português (Brasil) українська Ελληνικά Deutsch 中文 (简体) 中文 (繁體) русский עברית esperanto
Supported by
AWS
Datadog
Fastly
Google
Microsoft
Pingdom
Sentry
StatusPage
Comments
Post a Comment