Skip to content

tris460/PottsBot-Discord

Repository files navigation

👾 POTTS BOT - A New Discord Bot 👾

What is it?

A Discord bot which automates different actions (described further), it can give you an APA reference, a QR from any valid URL, give you a status of some website, among other functions.
You can edit the functions described below to your own purposes, this code was developed to be highly scalable.

Instalation

1.- First, clone this GitHub repository, you can do it by:

HTTPS https://github.com/tris460/PottsBot-Discord.git or SSH git@github.com:tris460/PottsBot-Discord.git or GitHub CLI gh repo clone tris460/PottsBot-Discord

2.- Then, install the necessaty dependences by running: npm install
3.- After that, you must create your bot, to achieve that, follow the next tutorial from the Discord Developer Portal
4.- Create your .env file in the root project with the structure show in the .env.sample file.
5.- To execute the bot in your localhost, run: npm run start.

⚠ Never commit or share your token or API keys publicly ⚠

Commands

Right now we have just a few commands you can use:

  1. !help Returns a list with all the commands available.
  2. !apa <string url> Returns a reference in format APA from the given URL.
  3. !convert <string place1> <string place2> Gets the current hour from the place1 and place2 to check both hours.
  4. !fortune Returns a text with your fortune of the day.
  5. !meme Sends a funny random image.
  6. !qr <string url> Converts the URL into a QR code and sends it as an image.
  7. !shell <string question> Answers a yes/no question.
  8. !status <string url> Returns the status of your website in PDF format.

Use examples

Help

APA

Convert

Fortune

Meme

QR

Shell

Status

System info

This project was created with the following requeriments and dependences:
Node: 18.14.1
NPM: 9.3.1
DiscordJS: 14.8.0
Dotenv: 16.0.3
PDF-Lib: 1.17.1
Puppeteer: 19.6.3
QRCode: 1.5.1

Contributions and contact

🌷 Beatriz Martínez
🎮 Rubén Rodríguez
Lucía Guzmán

Follow us 👉👈 and star this project ⭐

Releases

No releases published

Packages

No packages published