Skip to main content

A Discord Selfbot for Clone Discord Server

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

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nexxclone-1.1.2.tar.gz (5.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page