Skip to content
This repository has been archived by the owner on Mar 2, 2023. It is now read-only.
/ JPMCU-Bot Public archive

A Discord Bot that integrates key features of the JPMCU website into Discord.

License

Notifications You must be signed in to change notification settings

Reynard-G/JPMCU-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JPMCU Discord Bot

Codacy Badge

The JPMCU Bot is responsible for integrating JPMCU's website right into Discord

Commands/Features

  • /register - Register an account with JPMCU
  • /membership - Apply for JPMCU membership. Requires at least $850 in your account
  • /balance - Check your JPMCU account balance
  • /transactions - Check your JPMCU account transaction history
  • /info - Information about JPMCU
  • /market hours - Displays the real-life market hours
  • /market tickers - Display available tickers
  • /market info - Display current share price with 1 year chart
  • /market chartinfo - Displays information on how to read a candlestick chart
  • /market portfolio - Displays the user's stock portfolio
  • /market transactions - Displays past stock transactions
  • /market buy - Buys an amount of shares for the real-time market price
  • /market sell - Sells an amount of shares for the real-time market price
  • Loan Reminders a day before a payment is due
  • Automating interest payments for Administrators

Installation

  git clone https://github.com/Reynard-G/JPMCU-Bot
  cd JPMCU-Bot
  mkdir data/
  cd data/
  touch cryptoBarData.json cryptoMarket.json stockBarData.json stockMarket.json
  mkdir charts

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

TOKEN=
CLIENT_ID=
GUILD_ID= // Fill if you want to register slashcommands in a specific guild
MEMBER_ROLE_ID=
DB_HOST=
DB_PORT=
DB_USER=
DB_PASS=
DB_NAME=
ALPACA_KEY_ID=
ALPACA_SECRET_KEY=

Run Locally

Install dependencies

  npm install

Start the discord bot

  node .

License

GNU Lesser General Public License v3.0

About

A Discord Bot that integrates key features of the JPMCU website into Discord.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published