We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bec834 commit 6e658f1Copy full SHA for 6e658f1
src/packages/frontend/frame-editors/generic/chat.tsx
@@ -51,12 +51,19 @@ function Chat({ font_size, desc }: EditorComponentProps) {
51
);
52
}
53
54
+const commands: any = {};
55
+for (const x in chatroom.commands) {
56
+ if (x == "time_travel" || x == "show_search") {
57
+ continue;
58
+ }
59
+ commands[x] = true;
60
+}
61
export const chat: EditorDescription = {
62
type: "chat",
63
short: labels.chat,
64
name: labels.chat,
65
icon: "comment",
- commands: chatroom.commands,
66
+ commands,
67
component: Chat,
68
} as const;
69
0 commit comments