A modular, extendible, discord bot framework based on discord.py.
Check out our Trello page for our progress and plans: https://trello.com/b/tj0OqFwR/pineapple-feature-timeline
This guide will be for installing the bot on Ubuntu.
- Go to the discord developers page
- Click New Application
- Give your bot a name and an icon, then press Create Application
- On the next page, click Create a Bot User
- Next to Token, click Click to reveal to see your token
- Enter your token inside the configuration file for the bot.
- Clone the repo locally using
git clone https://github.com/peter765/pineapple.git
. - Edit the config.ini.default with the necessary information.
- Rename config.ini.default to config.ini.
- Update pip with
python3.5 -m pip install --upgrade pip
for Ubuntu 14.04 orpython3 -m pip install --upgrade pip
for 16.04 and later. - Use
pip install -r requirements.txt
to install dependencies. - Run the bot using
python3.5 bot.py
for Ubuntu 14.04 orpython3 bot.py
for 16.04 and later.
Self hosted bot:
- Make sure you have Manage Server permissions.
- go to the discord developers page and click on your application. At the top, you will find the bot account's Client ID.
- Replace "CLIENT_ID" in the following link the Client ID from your application page, and then open that URL in a browser. https://discordapp.com/oauth2/authorize?&client_id=CLIENT_ID&scope=bot&permissions=0
- Select your server and add the bot to that server
Pre-hosted bot: Not yet public. Soon(tm)
Bot setup in server: 5. The server owner can add a group to the bot's rank system, use the "addadmin " command. The group name is case sensitive. 6. Add other groups to the admin role with "addadmin" or to moderator with "addmod" or to verified member with "addmember"