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.
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.
It is recommended to use the self-hosted instance of the bot instead of running it yourself:
To run the bot on your own machine:
- Copy the
.env.examplefile to.envand fill in the required fields.- The
BOT_TOKENfield is the Discord bot token. - The
TEST_GUILD_IDfield is the ID of the Discord server where the bot will be tested. - The
BOT_OWNER_IDfield is the ID of the Discord user who will be the owner of the bot.
- The
- 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 usageRebuild the JavaScript files using npm run build if there are changes made to the source code.