]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/twitch-bot/Controls.js
try to respond more appropriately
[alttp.git] / resources / js / components / twitch-bot / Controls.js
index 496ff11dd9dae4f977eecb793e25e0f0f2349256..f64ee62712a658da228c4ebacbc895d55931bf35 100644 (file)
@@ -8,11 +8,32 @@ import ChatSettingsForm from './ChatSettingsForm';
 import CommandDialog from './CommandDialog';
 import Commands from './Commands';
 import GuessingSettingsForm from './GuessingSettingsForm';
+import ChatBotLog from '../chat-bot-logs/ChatBotLog';
 import ChannelSelect from '../common/ChannelSelect';
 import Icon from '../common/Icon';
 import ToggleSwitch from '../common/ToggleSwitch';
 
-const CHAT_CATEGORIES = ['unclassified', 'hi', 'gl', 'gg', 'lol', 'pog', 'hype', 'o7'];
+const CHAT_CATEGORIES = [
+       'unclassified',
+       'hi',
+       'gl',
+       'gg',
+       'eyes',
+       'love',
+       'lol',
+       'yes',
+       'no',
+       'rage',
+       'sad',
+       'sweat',
+       'wtf',
+       'pog',
+       'hype',
+       'kappa',
+       'o7',
+       'question',
+       'thx',
+];
 
 const Controls = () => {
        const [channel, setChannel] = React.useState(null);
@@ -228,7 +249,12 @@ const Controls = () => {
                                        </div>
                                </Col>
                                <Col className="mt-5" md={6}>
-                                       <h3>{t('twitchBot.chatSettings')}</h3>
+                                       <div className="d-flex justify-content-between">
+                                               <h3>{t('twitchBot.chatSettings')}</h3>
+                                               <div className="button-bar">
+                                                       <ChatBotLog id={channel.id} />
+                                               </div>
+                                       </div>
                                        <ChatSettingsForm channel={channel} onSubmit={saveChatSettings} />
                                </Col>
                                <Col className="mt-5" md={12}>