Code Monkey home page Code Monkey logo

csintsy-chatbot's Introduction

MedDiagnose Bot

A Discord chatbot for diagnosing common illnesses in the Philippines. It must be noted that any conclusion from this chatbot must NOT be treated as medical advice.

Prerequisites (for self-hosting only)

Usage

To run a diagnosis, simply type /diagnose in the chat. You will then be asked to agree to the terms of the bot. The bot will then ask you a series of questions to determine the illness. After the diagnosis, the bot will provide you with a list of possible illnesses.

We used ephemeral messages in Discord (only you can see them) for the utmost privacy. However, due to the nature of ephemeral messages, the bot will not be able to know if you have dismissed the message or not. If you have dismissed the message by accident, please run the /deletedata command to delete your data from the bot's memory. Under no circumstances should you run the /deletedata command if you have not dismissed the message. Doing so will result in the bot not being able to diagnose you. It should be noted, though, that once a diagnosis is completed, the bot will automatically delete your data from its memory, and a new diagnosis can be initiated.

Installation

It is recommended to use the self-hosted instance of the bot instead of running it yourself:

https://discord.com/api/oauth2/authorize?client_id=1091327462086029424&permissions=117824&scope=bot

Self-hosting

To run the bot on your own machine:

  1. Copy the .env.example file to .env and fill in the required fields.
    • The BOT_TOKEN field is the Discord bot token.
    • The TEST_GUILD_ID field is the ID of the Discord server where the bot will be tested.
    • The BOT_OWNER_ID field is the ID of the Discord user who will be the owner of the bot.
  2. Go to the root directory and run on your terminal:
  $ npm install
  $ npm run build:start # For first-time usage
  $ npm run start # For succeeding usage

Rebuild the JavaScript files using npm run build if there are changes made to the source code.

csintsy-chatbot's People

Contributors

dwigoric avatar lorenzo-querol avatar rpineda26 avatar

Watchers

 avatar  avatar  avatar

csintsy-chatbot's Issues

[FEAT] Use TScord template

Detailed Description

This template will help build the bot easily.

Context

Adding commands and other features will be easy using the TScord template.

Your Environment

Not applicable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.