- Make a copy of
settings.json.example
and name itsettings.json
. - Set your bot's token ID.
- You will need to create a bot over at Discord Developer Portal.
- You can also set other arguments in
settings.json
, such as command prefix, account status, and moderator roles.- It is recommended to use IDs rather than names for Moderator Roles to make sure jishaku can't be hijacked.
- If none are set, all moderation permissions will default to either the guild owner or the bot owner.
- Install the following for your host:
- Python 3.10.x (and its respective pip)
- Create a venv and activate it
- UNIX-based:
python3 -m venv venv
,source venv/bin/activate
- Windows
py -m venv venv
,.\venv\Scripts\activate
- UNIX-based:
- Run
pip install -r requirements.txt
- Run the following command:
- UNIX-based:
python3 twlhelper.py
- Windows:
py twlhelper.py
- UNIX-based:
Each function and related commands will be disabled until the instructions are followed correctly.
- The nds-boostrap compatibility list uses gspread, which requires a Google API key.
- You can read a guide on how to get this key here: https://docs.gspread.org/en/latest/oauth2.html
- In
settings.json
, setGSPREADKEY
to the relative path of your API key JSON file.
- The RSS cog pulls from the Nintendo Updates API, notifying when a system update for Nintendo 3DS consoles are published.
- In
settings.json
, setNINUPDATES
to the channel ID of where the RSS data will be posted.
- In
- The RSS cog pulls from the r/NDSBrew subreddit, notifying when a new post is submitted.
- In
settings.json
, setSUBREDDIT
to the channel ID of where the RSS data will be posted.
- In
- The Convert cog converts images, videos, and audio to a certain format, primarily designed for TWiLight Menu++ theming and video players.
- To use the image/video/audio conversion functions, install
ffmpeg
for your host. - To use the Unlaunch background conversion functions, install
ffmpeg
andgifsicle
for your host. - To use the GBARunner2 border conversion functions, install
grit
for your host. This can be found by installing the devkitPro build environment.- If your host is already configured to compile NDS or GBA software, this should already be set up.
- If only installing the devkitPro build environment specifically for
grit
, you will need to install bothgrit
anddevkit-env
package from pacman.
- To use the image/video/audio conversion functions, install
- The GitHub cog pushes GitHub webhook updates into specific threads in the server.
- In
settings.json
, setGITHUBUPDATES
to the channel where the main GitHub webhook is set. - In
settings.json
, underTHREAD
, set values accordingly.
- In
ISC License
Copyright (C) 2021-present DS-Homebrew
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- Discord.py: This wouldn't exist without it
- Nintendo Homebrew's Kurisu:
assistance.py
, netinfo, simple_embed- Licensed under Apache 2.0. See source, or see http://www.apache.org/licenses/LICENSE-2.0.
- YourKalamity:
convert.py
code used with permission - LightSage's UDB-API: fuzzy searching
- Licensed under Apache 2.0. See source, or see http://www.apache.org/licenses/LICENSE-2.0.