8000 GitHub - xbkv/discord.3gx: πŸ”¨ Automatically builds 3DS plugin files from GitHub uploads and delivers them via Discord.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

πŸ”¨ Automatically builds 3DS plugin files from GitHub uploads and delivers them via Discord.

License

Notifications You must be signed in to change notification settings

xbkv/discord.3gx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

discord.3gx

This Discord bot automatically builds 3DS plugin files (.3gx) from source code uploaded via GitHub or directly in Discord.

πŸš€ Features

  • Automatically creates private channels for each build request.
  • Handles ZIP file uploads containing 3DS plugin source code.
  • Compiles the code and sends back the .3gx file upon successful build.

βš™οΈ Requirements

  • Node.js (v16 or higher recommended)
  • Discord.js v14
  • Discord Bot Token
  • devkitPro: Required for building 3DS homebrew applications. You can install devkitPro from https://devkitpro.org/.

πŸ“¦ Configuration

Create a .env file in the root directory with the following environment variables:

BOT_TOKEN=your_discord_bot_token
GUILD_ID=your_discord_server_id
CATEGORY_ID=category_id_for_private_channels
DEVKITPRO_PATH=path_to_your_devkitPro_directory
  • BOT_TOKEN: Your Discord bot token.
  • GUILD_ID: The ID of your Discord server.
  • CATEGORY_ID: The ID of the category where build channels will be created.
  • DEVKITPRO_PATH: Absolute path to your devkitPro installation.

πŸš€ Usage

  1. Start the bot:
    node index.js
  2. On Discord:
    • Go to the designated channel.
    • Type .3gx to initiate the build process.
    • The bot will prompt: πŸ“ Send the zip file of your 3gx source.
    • Upload your ZIP file containing the 3DS plugin source code.
  3. Wait for the build:
    • The bot will compile the code.
    • You'll receive the built .3gx file in the same channel.

πŸ“ Notes

  • Each user can create only one build channel at a time.
  • Build channels are automatically deleted after 5 minutes of inactivity.

πŸ’» Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you'd like to change.

πŸ“œ License

This project is licensed under the MIT License.

About

πŸ”¨ Automatically builds 3DS plugin files from GitHub uploads and delivers them via Discord.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0