jacc / PositivePeter

Offical GitHub for the Positive Peter Discord bot owned by Polar#6969

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Positive Peter

Positive Peter Banner

Welcome to the Positive Peter GitHub. Positive Peter is a Discord bot created by Polar#6969. This bot is designed to try and prevent suicides from occurring either by giving positive compliments or providing the resources to contact professionals. If you would like to invite the bot feel free to use this invite link or get help with the Positive Peter bot feel free to join our Discord.

Discord Bots

Table of contents

Important links

How to use the Positive Peter Bot

This bot is triggered by certain keywords, once the bot has been triggered it will respond with the appropriate response.

Command List

Command Description
help Show a list of all the commands and information on how to use them.
changelog View all the updates that have been made to the bot.
hug Send a hug to someone or receive one from the bot.
invite View all of the bot's relevant links.
ping Show the bot's current latency.
suggesttrigger Suggest a trigger to be added to the detection system.
triggers View all of the words that triggers the bot.
config Edit the bot's configuration settings.

Configuration list

Configuration Description
compliment Disable or enable the compliment responses.
hotline Set the custom hotline in the suicidal response message.
prefix Set a server's custom prefix.

Self Hosting

Prerequisites

For Positive Peter to function correctly you must have all the proper libraries installed as well as Python 3.6+. A guide on how to install all of the libraries can be found below.

pip3 install discord.py
pip3 install motor
pip3 install dnspython

Setup

After you have installed all of the prerequisites listed above you can start on setting up the bot by downloading this repository onto your PC. From there please rename the ConfigExample.py file to Config.py then open it and enter all of the proper values. If you need help with setting a value please join the Support Server.

After you have setup the configuration file you can start the bot by doing the following while in the terminal (Make sure you're in the right directory)

python3 Main.py

About

Offical GitHub for the Positive Peter Discord bot owned by Polar#6969

License:MIT License


Languages

Language:Python 100.0%