Telegram Bot-Based Expert System as A Detection Tool for Early Symptoms of Borderline Personality Disorder

Lysbeth Venella Oey, Ridwan Sanjaya, FX Hendra Prasetya


The prolonged COVID-19 pandemic may cause stress that leads to both physical and mental health issues, especially for those who categorized as mentally fragile people, such as the people with Borderline Personality Disorder (BPD) where their fragility is caused by overreaction to stress compared to normal people. This journal explains how AI is applied in form of a Telegram-bot based expert system that aims to be a tool to detect early symptoms of BPD and provide treatment advice to people with BPD (PWBPD) as well as people who can potentially be PWBPD, according to recommendation of the psychologist. This research was conducted with qualitative method. The data collection is done by interview and literature study. Application development is carried out using waterfall method, forward chaining reasoning method, PHP, and MySQL. Application testing is done by interview to psychologist. The study shows an overall result that this tool is useful in providing education, detection, and the right ways to treat early symptoms of BPD. This application is also considered interesting and easy to use. The application testing results have been confirmed to pass the qualitative test using interview method with the psychologist and BPD expert, Dr. Christin Wibhowo, S.Psi, M.Si.


borderline personality disorder; expert system; telegram bot

Full Text:



L. V. Oey, R. Sanjaya, and C. Wibhowo, “LINE-based Virtual Friend Development for Borderline Personality Disorder,” 2021 International Conference on Computer Science, Information Technology, and Electrical Engineering (ICOMITEE), pp. 80-85, 2021.

K. Wingenfeld, C. Spitzer, N. Rullkötter, and B. Löwe, “Borderline personality disorder: Hypothalamus pituitary adrenal axis and findings from neuroimaging studies,” Psychoneuroendocrinology, vol. 35, no. 1. Pergamon, pp. 154–170, January 2010.

Association, American Psychiatric, Diagnostic and Statistical Manual of Mental Disorders (5th Edition: DSM-5). DC, Washington: American Psychiatric Association, 2013.

C. Wibhowo, “Causative factors of borderline personality disorder,” PSIKODIMENSIA, vol. 15, no. 1, pp. 107–122, 2016.

---, “Action Plan for the Directorate General of P2P and the Ministry of Health”, Ministry of Health, Jakarta, 2020-2024. [Online]. Available: [Accessed: 10-November-2021].

N. Lubis, H. Krisnani, and M. Fedryansyah, “Pemahaman Masyarakat Mengenai Gangguan Jiwa dan Keterbelakangan Mental” SHARE Social Work Journal, vol. 4, no. 2, pp. 137- 144, 2014.

B. Choresyo, S. A. Nulhaqim, and H. Wibowo, “Public awareness of mental illness,” Pros. Penelit. dan Pengabdi. Kpd. Masy., vol. 2, no. 3, pp. 381–387, 2015.

P. Prada, N. Perroud, E. Rüfenacht, and R. Nicastro, “Strategies to deal with suicide and non-suicidal self-injury in borderline personality disorder, the case of DBT,” Front. Psychol., vol. 9, no. DEC, pp. 1–6, 2018.

C. M. Temes, F. R. Frankenburg, G. M. Fitzmaurice, and M. C. Zanarini, “Deaths by Suicide and Other Causes Among Patients With Borderline Personality Disorder and Personality-Disordered Comparison Subjects Over 24 Years of Prospective Follow-Up,” J Clin Psychiatry, vol. 80, no. 1, pp. 30–36, 2019.

C. Susanto, “Application of Expert System for Mental Disorders in Children with Certainty Factor,” vol. 18, no. 1, pp. 27–36, 2015.

J. Liebowitz, “Expert systems: A short introduction,” Eng. Fract. Mech., vol. 50, no. 5– 6, pp. 601–607, Mar. 1995.

T. Istiana, G. S. B. Dharmawan, B. Prakoso, P. J. Komunikasi, and C. Author, “Weather Forecast Disemination System Development with Telegram Bot Application Using Webhook Method,” vol. 12, no. April, 2020.

Bots: an introduction for developers. [Online]. Available: [Accessed: 28-December-2021].

Creswell, John, Research Design: Qualitative, Quantitative, and Mixed Methods Approaches. London: SAGE Publications, 2009.

J. Dermawan and S. Hartini, “Waterfall Model Implementation in Web-based App Development in Al-Azhar Syifa Budi Jatibening Elementary School,” vol. 19, no. 2, 2017.

Sugiyono, Educational Research Method (Quantitative, Qualitative, and R&D Approaches). Bandung: Alfabeta, 2015.



  • There are currently no refbacks.

e-ISSN: 2776-0332 | View My Stats