Skip to content

Commit

Permalink
Update run.php
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Mar 7, 2021
1 parent ff324b7 commit 4957107
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@
],
'whitelist' => [ // Users who are allowed to use restricted functions
'daathren',
'valzargaming',
],
'responses' => [ // Whenever a message is sent matching a key and prefixed with a command symbol, reply with the defined value
'ping' => 'Pong!',
'github' => 'https://github.com/VZGCoders/TwitchPHP',
'discord' => 'https://discord.gg/yXJVTQNh9e',

],
'functions' => [ // Enabled functions usable by anyone
'help', // Send a list of commands as a chat message
],
'restricted_functions' => [ // Enabled functions usable only by whitelisted users
'php', //Outputs the current version of PHP as a message
'stop', //Kills the bot
],
'private_functions' => [ // Enabled functions usable only by the bot owner sharing the same username as the bot
'stop', //Kills the bot
'php', //Outputs the current version of PHP as a message
],
);
//include 'commands.php';
Expand Down

0 comments on commit 4957107

Please sign in to comment.