-
Notifications
You must be signed in to change notification settings - Fork 5
Installation
Note: as the bot uses some newer technology, including optional chaining, it requires at least Node.js v14. Running the bot with a version lower than this will lead to an error on startup. You will also need Git and a package manager such as pnpm installed.
-
Clone this repo to your machine by running
git clone https://github.com/Sidemen19/Wiki-Utilities.git
. -
Rename
config.sample.json
toconfig.json
. -
Go to the Discord developer's website while you are logged in to your Discord account here.
- Create a new application.
- Copy the Client ID.
- Next, add a Bot (NOTE - you need to make the bot private (meaning only you can invite it to servers), by toggling the switch).
-
Get the bot's token from the Bot page, copy it, and paste it into the value of
token
in config.json. -
Invite Wiki Utilities to a server, by going to
https://discord.com/oauth2/authorize?client_id=INSERT_CLIENT_ID_HERE&scope=bot&permissions=330816
(paste your Client ID from earlier into the URL). -
Install required dependencies, using
pnpm install
ornpm install
. -
Get the bot online by running
node .
in the root directory.
Next: Configuring the bot