<hr/> <h4 class="collapsible-master">Promotions from Time</h4> <div class="collapsible-content"> <div class="row"> <div class="col-sm-4"> <div class="btn-toolbar"> <?php echo $templates->switchToggle('Toggle Time Promotion', 'doQuickCommand', '[\'time autolevel\']', null, array_key_exists('timeLevel', $botSettings) && filter_var($botSettings['timeLevel'], FILTER_VALIDATE_BOOLEAN)); ?> </div> <div class="spacer"></div> <?php echo $templates->botCommandForm('time promotehours', 'Set time before promoting viewers', 'hours', array_key_exists('timePromoteHours', $botSettings) ? $botSettings['timePromoteHours'] : ''); ?> </div> <div class="col-sm-4"> </div> <div class="col-sm-4"> <?php echo $templates->informationPanel('This feature enables to automatic group level up for viewers.<br />Based on the amount of time set a viewer will become a Regular. (You cannot edit the group for it.)'); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Viewers Time', ['Username', 'Time'], $timeTableRows, true, '', [['display' => 'Sort Username a-z', 'name' => 'username', 'value' => 'ASC', 'active' => array_key_exists('username', $filter) && $filter['username'] == 'ASC'], ['display' => 'Sort Username z-a', 'name' => 'username', 'value' => 'DESC', 'active' => array_key_exists('username', $filter) && $filter['username'] == 'DESC'], ['display' => 'Sort Time Ascending', 'name' => 'time', 'value' => 'ASC', 'active' => array_key_exists('time', $filter) && $filter['time'] == 'ASC'], ['display' => 'Sort Time Descending', 'name' => 'time', 'value' => 'DESC', 'active' => array_key_exists('time', $filter) && $filter['time'] == 'DESC']]); ?> </div> </div> </div>
} ?> <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <link href="app/css/<?php echo $dataStore->getVar('misc', 'theme', 'style_dark'); ?> .css" rel="stylesheet" type="text/css"/> <link rel="icon" href="../favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/> <script src="//code.jquery.com/jquery-1.11.3.min.js" type="text/javascript"></script> <script src="//code.jquery.com/ui/1.11.3/jquery-ui.min.js" type="text/javascript"></script> </head> <body> <div class="panel panel-primary"> <div class="panel-heading"> <h4><?php echo $fileName; ?> </h4> </div> </div> <?php echo $templates->dataTable('', [], $logDataRows); ?> </body> </html>
</div> <div class="col-sm-4"> <?php echo $templates->botCommandForm('musicplayer maxvideolength', 'Set max video length', '[minutes]', array_key_exists('maxVideoLength', $youtubePlayerSettings) ? $youtubePlayerSettings['maxVideoLength'] / 60000.0 : 8); ?> </div> <div class="col-sm-4"> <?php echo $templates->botCommandForm('addsong', 'Request A Song', '[youtube link]'); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Request Queue <small>(' . $requestQueueLength . ' items)</small> ' . ($requestQueueLength > 0 ? $templates->botCommandButton('stealsong', 'Steal Current Song', 'default btn-sm') : ''), ['', 'Video Title', 'Requested By'], $requestQueueDataRows, true); ?> <hr/> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('musicplayer adddefault', 'Add Song To Default Playlist', '[youtube url]'); ?> </div> </div> <?php echo $templates->dataTable('Default Playlist <small>(' . $defaultPlaylistLength . ' items)</small>', ['', 'Video Title', 'Actions'], $defaultPlaylistDataRows, true); ?> </div> </div> </div>
?> <?php echo $templates->moduleActiveIndicator($functions->getModuleStatus('phraseHandler.js')); ?> </h3> </div> <div class="panel-body"> <h4>Phrase Trigger Settings</h4> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('addphrase', 'Add reply', '[emote] [reply]'); ?> <?php echo $templates->botCommandForm('delphrase', 'Delete reply', '[emote]'); ?> </div> <div class="col-sm-4 col-sm-offset-4"> <?php echo $templates->informationPanel('The bot can reply to words posted in the chat.<br/>"emote" equals to one word without spaces!'); ?> </div> </div> <hr/> <?php echo $templates->dataTable('Current Phrase Triggers', ['Emote', 'Reply'], $phraseTableRows, true); ?> </div> </div> </div>
<h4 class="collapsible-master">Manually Enable/Disable Modules</h4> <div class="collapsible-content"> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('module enable ', 'Enable module', '[./path/to/script.js]'); ?> </div> <div class="col-sm-4"> <?php echo $templates->botCommandForm('module disable ', 'Enable module', '[./path/to/script.js]'); ?> </div> <div class="col-sm-4"> <?php echo $templates->informationPanel('<p> "./path/to/script.js" is the path relative to the "scripts/" directory.<br/> E.g. "./commands/addCommand.js" </p>'); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Current Modules', ['Module', 'Toggle'], $modulesTableRows, true); ?> </div> </div> </div>
<?php echo $templates->botCommandButton('subscribemode', 'Subscribe Mode'); ?> </div> </div> <hr/> <h4 class="collapsible-master">Subscriber Settings</h4> <div class="collapsible-content"> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('subscribemessage', 'Message on subscription', '[message]', array_key_exists('subscribemessage', $botSettings) ? $botSettings['subscribemessage'] : 'Thanks for the subscription (name)!'); ?> </div> </div> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('subscribereward', 'Points reward on subscription', '[amount]', array_key_exists('subscribereward', $botSettings) ? $botSettings : '1000'); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Current Subscribers', ['Uername'], $subscriberTableRows, true); ?> </div> </div> </div>
<?php echo $templates->moduleActiveIndicator($functions->getModuleStatus('greetingSystem.js')); ?> </h3> </div> <div class="panel-body"> <?php echo $templates->switchToggle('Toggle Auto-Greeting', 'doQuickCommand', '[\'greeting toggle\']', null, array_key_exists('autogreet', $greetingSettings) && filter_var($greetingSettings['autogreet'], FILTER_VALIDATE_BOOLEAN)); ?> <hr/> <h4>Greeting Message</h4> <div class="row"> <div class="col-sm-6"> <?php echo $templates->botCommandForm('greeting set default', 'Set global greeting message', '[message]', array_key_exists('_default', $greetingSettings) ? $greetingSettings['_default'] : ''); ?> </div> <div class="col-sm-4 col-sm-offset-2"> <?php echo $templates->informationPanel('Users can set their own greeting using "!greeting set <message>". Then enable/disable the greeting by using "!greeting <enable/disable>".'); ?> </div> </div> <hr/> <?php echo $templates->dataTable('User Greetings', ['Username', 'Greeting'], $userGreetingRows, true); ?> </div> </div> </div>
echo $templates->botCommandForm('quote', 'Summon quote', '[#id]'); ?> </div> </div> <hr/> <h4>Quote Settings</h4> <div class="row"> <div class="col-sm-8"> <?php echo $templates->botCommandForm('addquote', 'Add quote', '[message]'); ?> </div> <div class="col-sm-8"> <?php echo $templates->botCommandForm('editquote', 'Edit quote', '#[id] [message]'); ?> </div> <div class="col-sm-4"> <?php echo $templates->botCommandForm('delquote', 'Delete quote', '[#id]'); ?> </div> </div> <hr/> <?php echo $templates->dataTable('Current Quotes', ['#id', 'Message'], $quotesTableRows, true); ?> </div> </div> </div>
</div> <div class="col-sm-4 col-sm-offset-4"> <?php echo $templates->informationPanel('Marathon commands use the Time-Zone module that\'s included in the script in order to make up for timezone differences.'); ?> </div> </div> </div> <hr/> <h4>Current Marathon</h4> <p> <?php echo !$marathonName && !$marathonLink && !$lastAnnouncement ? 'No marathon currently active.' : ''; ?> <?php echo $marathonName ? 'Marathon: ' . $marathonName . '<br />' : ''; ?> <?php echo $marathonLink ? 'Link: <a href="' . $marathonLink . '" target="_blank">' . $marathonLink . '</a><br />' : ''; ?> <?php echo $lastAnnouncement ? 'Last Announcement: ' . $lastAnnouncement . '<br />' : ''; ?> </p> <?php echo $templates->dataTable('Scheduled Marathons', ['Marathon Name', 'Date', 'Clear'], $scheduleTableRows, true); ?> </div> </div> </div>
<div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandFormV2('addcommandtimer', 'Add command to command timer', ['placeholder' => '[command]', 'autoComplete' => 'command']); ?> </div> </div> <hr/> <h4 class="collapsible-master">Command Timer Settings</h4> <div class="collapsible-content"> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('commandtimer settime', 'Set Command Interval', '[seconds]', array_key_exists('time', $commandTimerSettings) ? $commandTimerSettings['time'] : 600); ?> </div> <div class="col-sm-4"> <?php echo $templates->botCommandForm('commandtimer setreqmsgs', 'Set Minimum Chat Message Count', '[amount]', array_key_exists('reqMsgs', $commandTimerSettings) ? $commandTimerSettings['reqMsgs'] : 10); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Current Commands In Command Timer <span class="text-muted">(' . count($commandTimerCommands) . ')</span>', ['command', 'Remove'], $commandTimerCommandsDataRows, true); ?> </div> </div> </div>
echo $templates->botCommandForm('points interval', 'Point gain interval <span class="text-success">(Online)</span>', '[minutes]', array_key_exists('pointInterval', $botSettings) ? $botSettings['pointInterval'] : '10'); ?> </div> </div> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('points offlinegain', 'Points gained per interval <span class="text-danger">(Offline)</span>', '[amount]', array_key_exists('pointGainOffline', $botSettings) ? $botSettings['pointGainOffline'] : '1'); ?> </div> <div class="col-sm-4"> <?php echo $templates->botCommandForm('points offlineinterval', 'Point gain interval <span class="text-danger">(Offline)</span>', '[minutes]', array_key_exists('pointIntervalOffline', $botSettings) ? $botSettings['pointIntervalOffline'] : '10'); ?> </div> </div> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('points mingift', 'Minimal gift', '[amount]', array_key_exists('pointGiftMin', $botSettings) ? $botSettings['pointGiftMin'] : '10'); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Viewer Points (' . count($points) . ')', ['Username', 'Amount'], $pointsTableRows, true, '', [['display' => 'Sort Username a-z', 'name' => 'username', 'value' => 'ASC', 'active' => array_key_exists('username', $filter) && $filter['username'] == 'ASC'], ['display' => 'Sort Username z-a', 'name' => 'username', 'value' => 'DESC', 'active' => array_key_exists('username', $filter) && $filter['username'] == 'DESC'], ['display' => 'Sort ' . ucfirst(array_key_exists('pointNameMultiple', $botSettings) ? $botSettings['pointNameMultiple'] : 'points') . ' Ascending', 'name' => 'points', 'value' => 'ASC', 'active' => array_key_exists('points', $filter) && $filter['points'] == 'ASC'], ['display' => 'Sort ' . ucfirst(array_key_exists('pointNameMultiple', $botSettings) ? $botSettings['pointNameMultiple'] : 'points') . ' Descending', 'name' => 'points', 'value' => 'DESC', 'active' => array_key_exists('points', $filter) && $filter['points'] == 'DESC'], ['display' => 'Show > 1500' . ucfirst(array_key_exists('pointNameMultiple', $botSettings) ? $botSettings['pointNameMultiple'] : 'points'), 'name' => 'points', 'value' => 'MAX', 'active' => array_key_exists('points', $filter) && $filter['points'] == 'MAX']]); ?> </div> </div> </div>
Command Cooldown <?php echo $templates->toggleFavoriteButton(); ?> <?php echo $templates->moduleActiveIndicator($functions->getModuleStatus('commandCoolDown.js')); ?> </h3> </div> <div class="panel-body"> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandFormV2('cooldown', 'Set Command Cooldown', ['placeholder' => '[command] [seconds]', 'autoComplete' => 'command']); ?> </div> <div class="col-sm-4"> <div class="btn-toolbar"> <?php echo $templates->botCommandFormV2('clearcooldown', 'Clear All Cooldowns', ['placeholder' => '[command]', 'autoComplete' => 'command']); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Default Command Cooldowns', ['Command', 'Cooldown', 'Delete'], $commandCooldownsDataRows, true); ?> </div> </div> </div>
</div> <div class="panel-body"> <div class="btn-toolbar"> <?php echo $templates->botCommandButton('quote', 'Get Random Quote'); ?> </div> <hr/> <h4 class="collapsible-master">Manage Quotes</h4> <div class="collapsible-content"> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandFormV2('addquote', 'Add a Quote', ['placeholder' => '[username] [quote...]', 'autoComplete' => 'user']); ?> </div> <div class="col-sm-4"> <?php echo $templates->botCommandForm('delquote', 'Delete a Quote', '[quoteId]'); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Current Quotes', ['id', 'Username', 'Text', 'Date'], $quotesDataRows); ?> </div> </div> </div>
?> <?php echo $templates->botCommandForm('group Remove', 'Delete group', '[groupname]'); ?> </div> <div class="col-sm-4"> <?php echo $templates->botCommandForm('group name', 'Modify group name', '[groupname] [newname]'); ?> <?php echo $templates->botCommandForm('group points', 'Modify group points multiplier', '[groupname] [amount]'); ?> </div> </div> </div> <hr/> <div class="row"> <div class="col-sm-6"> <?php echo $templates->dataTable('Viewer Groups', ['Username', 'Group'], $viewerGroupTableRows, true); ?> </div> <div class="col-sm-6"> <?php echo $templates->dataTable('Viewer Groups', ['Group Id', 'Group Name'], $groupTableRows, true); ?> </div> </div> </div> </div> </div>
<tr> <td colspan="2">' . (array_key_exists($username, $followers) && $functions->strToBool($followers[$username]) ? '<span class="text-success">Follows you</span>' : '<span class="text-danger">Does not follow you</span>') . (array_key_exists($username, $incRaids) ? ', <span class="text-success">Raided you ' . $incRaids[$username] . ' times!</span>' : '') . '</td> </tr> </table> </td> </tr>'; } ?> <div class="app-part"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"> Viewer Info <?php echo $templates->toggleFavoriteButton(); ?> </h3> </div> <div class="panel-body"> <div class="text-info"> Showing viewers with a minimal of <?php echo $minTimeSec / 3600; ?> hours of recorded time. </div> <?php echo $templates->dataTable('Recorded Viewers <span class="text-muted">(' . count($viewers) . ')</span>', ['username', 'info'], $viewersDataRows, true, '', [['active' => false, 'name' => 'default', 'value' => 0, 'display' => 'Reset Filter'], ['active' => array_key_exists('sort', $phpInput) && $phpInput['sort'] == 'time', 'name' => 'sort', 'value' => 'time', 'display' => 'Sort By Time'], ['active' => array_key_exists('sort', $phpInput) && $phpInput['sort'] == 'lastseen', 'name' => 'sort', 'value' => 'lastseen', 'display' => 'Sort By Last Seen'], ['active' => array_key_exists('time', $phpInput), 'name' => 'time', 'value' => 0, 'display' => 'Show All']]); ?> </div> </div>
Keep a record of incomming raids. </p> <?php echo $firstTime ? $templates->informationPanel('<p>We\'ve created the command !doraid in order to make the Raid target field work.</p>Because PhantomBot does not have such a thing...') : ''; ?> <hr/> <div class="row"> <div class="col-sm-4"> <h4>Report Incoming Raid</h4> <?php echo $templates->botCommandForm('raider', 'Raid host'); ?> </div> <div class="col-sm-4"> <h4>Let's Raid</h4> <?php echo $doRaidCommandForm; ?> </div> <div class="col-sm-4"> <?php echo $doRaidCommandResponse != '0' ? $templates->informationPanel('<p>This system is not (and cannot be) automatic!</p>The current raid command is set to:<p class="text-info">' . $doRaidCommandResponse . '</p>To change this go to the Systems->Commands and modify the command "doraid".') : ''; ?> </div> </div> <?php echo $templates->dataTable('PastRaiders', ['Username', '# Incomming Raids'], $pastRaidersTableRows, true); ?> </div> </div> </div>
?> </div> </div> <hr/> <h4 class="collapsible-master">Notice Settings</h4> <div class="collapsible-content"> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('notice req', 'Message amount requirement', '[amount]', array_key_exists('reqmessages', $noticeSettings) ? $noticeSettings['reqmessages'] : '25'); ?> <?php echo $templates->botCommandForm('notice timer', 'Notice interval', '[minutes]', array_key_exists('interval', $noticeSettings) ? $noticeSettings['interval'] : '10'); ?> </div> <div class="col-sm-4 col-sm-offset-4"> <?php echo $templates->informationPanel('<b>Message Requirement</b> is the amount of messages in chat that will trigger a notice.<br> <b>Notice Interval</b> is the amount of time before triggering from the amount of messages in chat.'); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Current Notices', ['#id', 'Message'], $noticesTableRows); ?> </div> </div> </div>
<?php echo $templates->botCommandForm('rewardcom', 'Reward', '[command] [amount]'); ?> </div> <div class="col-sm-6"> <?php echo $templates->informationPanel('<p>!Permcom uses a "<b>mode</b>" system, which is for targeting what groups has access to the command.<br/> <ul> <li>1: Setting the mode as "<b>1</b>" will set the command to be accessible by <cite>ONLY</cite> the chosen group. </li> <li>2: Setting the mode as "<b>2</b>" will set the command to be accessible by the chosen group you and any group ranked higher. </li> </ul> <p><b>Alias:</b> Alias means another word for the same command. If you set !points with an alias as wallet, the !points command will respond to !wallet.</p>'); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Current Custom Commands', ['Command', 'Attributes', 'Aliases', ''], $customCommandsTableRows, true, 'custom-commands'); ?> <hr/> <?php echo $templates->dataTable('Default Command Settings', ['Command', 'Attributes', 'Aliases'], $defaultCommandsTableRows, true, 'custom-commands'); ?> </div> </div> </div>
</div> <hr/> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('addsong', 'Add song to the queue', '[youtube url]', null, 'Add'); ?> </div> <div class="col-sm-4"> <?php echo $templates->botCommandForm('delsong', 'Remove song from queue', '[youtube url]', null, 'Del'); ?> </div> </div> <?php echo $templates->dataTable('Request Queue <small>(' . $requestQueueLength . ' items)</small>', ['', 'Video Title', 'Requested By'], $requestQueueDataRows, true); ?> <hr/> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('defaultaddsong', 'Add song to the default playlist', '[youtube url]'); ?> </div> </div> <?php echo $templates->dataTable('Default Playlist <small>(' . $defaultPlaylistLength . ' items)</small>', ['', 'Video Title', 'Actions'], $defaultPlaylistDataRows, true); ?> </div> </div> </div>
<select class="form-control" name="file"> <?php echo $sfxSelectOptions; ?> </select> </div> <input type="text" class="form-control" name="command" placeholder="[command]"/> <span class="input-group-btn"> <button class="btn btn-primary"><span class="fa fa-paper-plane-o"></span></button> </span> </div> </div> </form> </div> </div> <div class="row"> <div class="col-sm-8"> <?php echo $templates->informationPanel('<p>This feature only works on the latest <a href="https://github.com/GloriousEggroll/PhantomBot" target="_blank">Phantombot</a> "nightly"!</p>' . '<p>Place your audio files (mp3, wav or ogg) in "app/content/sfx" and they will be listed automatically.</p>' . '<p>Select a sfx from the dropdown, enter a command and click the send button to save it.</p>' . '<p>You will have to open the Sfx Host using the "Open Sfx Host" Button"</p>' . '<p class="text-warning">Currently there\'s no volume control. This will be added later on!</p>'); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Current Sfx Commands', ['command', 'file', ''], $sfxTableDataRows, true); ?> </div> </div> </div>
</h3> </div> <div class="panel-body"> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandFormV2('raid', 'Throw a raid!', ['autoComplete' => 'user']); ?> </div> <div class="col-sm-4"> <?php echo $templates->botCommandFormV2('raider', 'Record an incomming raid!', ['autoComplete' => 'user']); ?> </div> </div> <hr/> <div class="row"> <div class="col-xs-6"> <?php echo $templates->dataTable('Past Outgoing Raids', ['Username', 'Count'], $outgoingRaidsDataRows); ?> </div> <div class="col-xs-6"> <?php echo $templates->dataTable('Past Incomming Raids', ['Username', 'Count'], $incommingRaidsDataRows); ?> </div> </div> </div> </div> </div>
</div> <div class="form-group"> <input type="number" class="form-control" name="time" placeholder="[time in seconds]*"> </div> <div class="checkbox"> <label> <input type="checkbox" name="follow"> Followers only </label> </div> <button type="submit" class="btn btn-default btn-block">Start</button> </form> </div> </div> <hr/> <?php echo $templates->dataTable('Previous Raffle Files <button class="btn btn-sm btn-default" onclick="loadPartFromStorage()"><span class="fa fa-refresh"></span></button>', ['filename'], $previousRaffleFileDataRows, true); ?> </div> </div> </div> <script> $(window).ready(function () { $('.raffle-start-form').on('submit', function (event) { var command = 'raffle start ', followCheck = $(event.target[3]), keywordField = $(event.target[0]), costField = $(event.target[1]), timeField = $(event.target[2]); event.preventDefault();
.css" rel="stylesheet" type="text/css"/> <link rel="icon" href="../../favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="../../favicon.ico" type="image/x-icon"/> </head> <body> <div id="page-wrapper"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">User points & commands</h3> </div> <div class="panel-body"> <div class="row"> <div class="col-sm-6"> <?php echo $templates->dataTable('User Points', ['Username', 'Points'], $userPointsDataRows, true); ?> </div> <div class="col-sm-6"> <?php echo $templates->dataTable('Custom Commands', ['Command', 'Output'], $customCommandsDataRows, true); ?> </div> </div> </div> </div> </div> </body> </html>
<div class="app-part"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"> Panel Users <?php echo $templates->toggleFavoriteButton(); ?> <button class="btn btn-default btn-sm" onclick="openPart('extras/panel-settings.php')">Back to Panel Settings</button> </h3> </div> <div class="panel-body"> <div class="row"> <div class="col-sm-8"> <?php echo $templates->dataTable('Panel Users', ['Username', 'Password', 'Save'], $usersDataRows, true); ?> <?php echo $userIsAdmin ? '<div class="btn-toolbar"><button class="btn btn-default" onclick="addPanelUser()">Add User</button></div>' : ''; ?> <div class="spacer"></div> </div> <div class="col-sm-4"> <?php echo $templates->informationPanel('<p>You can not change your own username, nor can you delete your account!</p>' . '<p>If you change your own password you will have to <a href="#" onclick="logOut()">log out</a> and log back in using your new password to be able to continue!</p>' . '<p>Admins be careful, granting someone access to your panel gives them full access to everything!</p>' . '<p>Use the users twitch username to have the panel send their username on communication with the bot.' . '<br />If the name is not known with the bot the channel-owner\'s username will be used!</p>'); ?> </div> </div> </div> </div> </div>
<div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('followed', 'Check follower'); ?> </div> <div class="col-sm-4"> <?php echo $templates->botCommandForm('lastseen', 'Last seen'); ?> </div> </div> <hr/> <h4 class="collapsible-master">Follower Settings</h4> <div class="collapsible-content"> <div class="row"> <div class="col-sm-4"> <?php echo $templates->botCommandForm('followreward', 'Points reward on follow', '[amount]', array_key_exists('followreward', $botSettings) ? $botSettings['followreward'] : '100'); ?> </div> </div> </div> <hr/> <?php echo $templates->dataTable('Recorded Follows (' . count($recordedFollows) . ')', ['Username', 'Last Seen'], $followersTableRows, true); ?> </div> </div> </div>