powercord-org / powercord

A lightweight @discord client mod focused on simplicity and performance.
MIT License
1.2k stars 147 forks source link

pc-commands crash #643

Closed HideakiAtsuyo closed 2 years ago

HideakiAtsuyo commented 2 years ago

Describe the bug When you type . it's supposed to show the command but it won't work anymore, it just make you crash.

To Reproduce Steps to reproduce the behavior:

Expected behavior Show the commands with TITLE But instead of doing this, TypeError: Class constructor Title cannot be invoked without 'new' at React Title Return

Desktop (please complete the following information):

Additional context

When I replace it to a simple text or [ 'Powercord ', title ] it work perfectly.