diff --git a/src/SlashCommands.js b/src/SlashCommands.js index 5939ceb98e..1302aaa423 100644 --- a/src/SlashCommands.js +++ b/src/SlashCommands.js @@ -345,6 +345,13 @@ const commands = { return reject(this.getUsage()); }), + // Open developer tools + devtools: new Command("devtools", "", function(roomId) { + const DevtoolsDialog = sdk.getComponent("dialogs.DevtoolsDialog"); + Modal.createDialog(DevtoolsDialog, { roomId }); + return success(); + }), + // Verify a user, device, and pubkey tuple verify: new Command("verify", " ", function(roomId, args) { if (args) {