GithubHelp home page GithubHelp logo

eurobertics / nebucord Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 4.0 494 KB

A full featured Discord WebSocket and REST API.

License: GNU General Public License v3.0

PHP 99.34% Dockerfile 0.66%
discord-bot discord-rest discord-websocket php discord bot api discord-api

nebucord's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @Eurobertics
  • ๐ŸขI do things in coding and project managing
  • ๐Ÿ’ป In My spare time I mostly working on https://github.com/eurobertics/nebucord a Discord PHP API ๐Ÿ’พ
  • ๐Ÿ›ฐ You reach me at best by Discord (Tag: Eurobertics#7777)
  • Just ask, there is nothing much more to say about Me. ๐Ÿ”ฎ

nebucord's People

Contributors

eurobertics avatar kschu91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nebucord's Issues

Don't hardcode LOGFILE_PATH

Not all servers run on apache, and /var/log/apache2 is not always an appropriate place for log files. If the directory doesn't exist, the program crashes Nebucord_Logger should take a log directory as a parameter.

Nebucord threading

Hello,

I'm the maintainer of a PHP game chatbot named Bebot (forum @ bebot.shadow-realm.org) and i'm considering Nebucord as an API source candidate for a Discord module i'm planning soon.

But the problem is once i included Nebucord as a module and initiated its connection (bootstrap->run), my chatbot is 100% busy on the Nebucord websocket and doesn't respond anything else.

Would you see a flexible way to include Nebucord as child process while keeping the main thread available for other chatbot tasks ? I've been thinking of using PHP 7 pthreads but it would require full reinstall ...

Any suggestion is welcomed !

Not Running Correctly

I'm trying to run this but it's giving me issues.

root@aeronus-webserver:/var/www/html/bot# php -f bot.php 29-12-2019 01:24:18 - nebucordws.nebulatien.org - info | Starting Nebucord v. 0.8.2 on nebucordws.nebulatien.org 29-12-2019 01:24:18 - nebucordws.nebulatien.org - info | Starting HTTP client... 29-12-2019 01:24:18 - nebucordws.nebulatien.org - info | Eventtable set... 29-12-2019 01:24:18 - nebucordws.nebulatien.org - info | No actiontable set, using default one... 29-12-2019 01:24:18 - nebucordws.nebulatien.org - info | Connecting to Discord WebSocket gateway... 29-12-2019 01:24:18 - nebucordws.nebulatien.org - info | WebSocket connection established. 29-12-2019 01:24:18 - nebucordws.nebulatien.org - info | Nebucord set up, entering main loop... 29-12-2019 01:24:18 - nebucordws.nebulatien.org - info | Event received: READY - Sequence: 1 PHP Notice: Undefined index: ctrlusr in /var/www/html/bot/vendor/eurobertics/nebucord/src/Controller/Nebucord_RuntimeController.php on line 272 29-12-2019 01:24:18 - nebucordws.nebulatien.org - info | Event received: - Sequence: 29-12-2019 01:24:18 - nebucordws.nebulatien.org - warn | Creating default model, no appropriate model for event found. PHP Notice: Undefined offset: 0 in /var/www/html/bot/vendor/eurobertics/nebucord/src/Controller/Nebucord_EventController.php on line 135 PHP Notice: Undefined offset: 0 in /var/www/html/bot/vendor/eurobertics/nebucord/src/Controller/Nebucord_EventController.php on line 135 PHP Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in /var/www/html/ bot/vendor/eurobertics/nebucord/src/Controller/Nebucord_EventController.php on line 135 29-12-2019 01:24:18 - nebucordws.nebulatien.org - info | Event received: - Sequence:

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.