PW Wiki Bot

A wiki bot used in the official Pixel Worlds Discord Server.

All contribution is welcomed, however whether it gets added to the actual bot that is running in the server depends.

Note: This bot’s code is different in terms of the wiki command and the backend to allow multiple server to use the bot.

Installation

Linux

  1. Make sure you have installed Node.js v10 or higher and Git.
  2. Clone this repository with https://github.com/ColdUnwanted/PW-Wiki-Bot.git.
  3. Run cd PW-Wiki-Bot to move in the folder that Git has just created.
  4. Run npm install to download the node modules required.
  5. Rename config-example.json to config.json and edit it.
  6. Run the bot with node bot.js.

Windows

  1. Make sure you have installed Node.js v10 or higher and Git.
  2. Clone this repository with https://github.com/ColdUnwanted/PW-Wiki-Bot.git.
  3. Run cd PW-Wiki-Bot to move in the folder that Git has just created.
  4. Run npm install to download the node modules required.
  5. Rename config-example.json to config.json and edit it.
  6. Run the bot with node bot.js.

Bot Setup

Rename config-example.json to config.json and edit the default value

  • token – Discord bot token
  • id – Discord bot id
  • desc – A random text
  • default_prefix – Discord bot prefix
  • status – Discord bot status
  • owner_id – Your discord ID

Wiki configuration

Create the Bot Account and update the config.json

  • bot_name – The name of the bot you created. E.g. [email protected]
  • bot_password – The bot password you created

Commands

Default prefix: !

  • config – Config the bot (Already configured by default)
  • setup – Setup the bot (Already configured by default)
  • help – Get a list of commands
  • invite – Bot invite code (Default to the actual PW Wiki Bot)
  • ping – Get the bot’s ping to discord and wiki
  • uptime – Get the bot’s uptime
  • list – Used to display a list of PW stuffs
  • wiki – Used to search for PW item on Wiki

    Note: The image return might be double or might not update in the embed, this is normal because the actual version is sending the image to another channel before embeding it.

GitHub

View Github