Giter VIP home page Giter VIP logo

twitch-chat-bot-php's People

Contributors

ilias-sp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

twitch-chat-bot-php's Issues

Error on https

Hi.

I'm trying your bot (nice job) but I had an error related to php.ini, I'm telling you in case you want to add it to the instructions. I was getting this error:

"Unable to find the wrapper https"

I had to add a new extension in php.ini (extension=php_openssl.dll) in order to avoid it.

Thanks for sharing your job.

API call to get returned with error

I try start bot, but I have error:

php startIzyBot.php
IZYBOT\lib\Twitchapi: API call to get returned with error. Exiting..
PHP Fatal error:  Uncaught Exception: API call to get returned with error. Exiting.. in /home/a0568751/domains/twitch.fixel.ru/public_html/lib/TwitchAPI.php:353
Stack trace:
#0 /home/a0568751/domains/twitch.fixel.ru/public_html/lib/TwitchAPI.php(92): IZYBOT\lib\Twitchapi->_get_channel_data()
#1 /home/a0568751/domains/twitch.fixel.ru/public_html/lib/TwitchAPI.php(62): IZYBOT\lib\Twitchapi->_read_channel_data()
#2 /home/a0568751/domains/twitch.fixel.ru/public_html/lib/IzyBot.php(134): IZYBOT\lib\Twitchapi->__construct(Array, Object(IZYBOT\lib\Logger))
#3 /home/a0568751/domains/twitch.fixel.ru/public_html/startIzyBot.php(38): IZYBOT\lib\IzyBot->__construct(Array)
#4 {main}
  thrown in /home/a0568751/domains/twitch.fixel.ru/public_html/lib/TwitchAPI.php on line 353

API keys in channel_credentials.php correct

I guess it's dead

IZYBOT\lib\Twitchapi: API call to get returned with error. Exiting..
Fatal error: Uncaught Exception: API call to get returned with error. Exiting.. in C:\MyStuff\WORK\OSPanel\domains\twitch\www\lib\TwitchAPI.php:353 Stack trace: #0 C:\MyStuff\WORK\OSPanel\domains\twitch\www\lib\TwitchAPI.php(92): IZYBOT\lib\Twitchapi->_get_channel_data() #1 C:\MyStuff\WORK\OSPanel\domains\twitch\www\lib\TwitchAPI.php(62): IZYBOT\lib\Twitchapi->_read_channel_data() #2 C:\MyStuff\WORK\OSPanel\domains\twitch\www\lib\IzyBot.php(134): IZYBOT\lib\Twitchapi->__construct(Array, Object(IZYBOT\lib\Logger)) #3 C:\MyStuff\WORK\OSPanel\domains\twitch\www\startIzyBot.php(38): IZYBOT\lib\IzyBot->__construct(Array) #4 {main} thrown in C:\MyStuff\WORK\OSPanel\domains\twitch\www\lib\TwitchAPI.php on line 353

I'm getting this error. I checked lib\TwitchAPI.php and it works with old kraken API. I'm not sure if it's still maintained or not. Will you update your bot for new helix API?

Colour Codes

Not really an issue - more a question. Do you know how to format the bot response string in PHP to send colour code information to change the foreground or background colour of IRC messages the bot sends to chat?

Your bot code has been very useful for me - thanks!

Online Bot

Could I put this code in a regular domain and use the same bot in multiple channels?

Add Admin

How i can add a Admin User in the Admin_Username.cfg manually and what is the syntax of the file?

Is it possible to add Admins in the Webinterface of the Bot?

run on webserver

hello,
i know this chat bot is created for run locally, but how i can run it on webserver (ubuntu)?
i tried it several ways but got no luck :(

Processing Messages

Curious here as to why on user commands your doing;
elseif ($message_text === $this->bot_config['giveaway_join_keyword'])
and
elseif ($words_in_message_text[0] === $this->bot_config['quote_keyword'])

I have noticed some commands are not being picked up and I am wondering if its because of the way it processes user messages. All Admin commands are using '$words_in_message_text[0]' and SOME user commands are using $words_in_message_text[0] some are using $message_text.

So the question is why use message_text and not the first element of the array? Only my admin users can place bets, regular users cannot for some weird reason. It has trouble picking them up. So I can't find why this isn't processing them correctly and this is the only thing I cant think of.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.