Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

v0.18 ready event not firing #150

Closed
Lovinity opened this issue Mar 17, 2017 · 3 comments
Closed

v0.18 ready event not firing #150

Lovinity opened this issue Mar 17, 2017 · 3 comments

Comments

@Lovinity
Copy link

Lovinity commented Mar 17, 2017

Version of Komada

0.18 on Centos 7

Are core files modified?

No

Describe the problem

I noticed however that after upgrading to 0.18, ready.js in the events folder is not executing on bot being ready.

Expected Behaviour

When the bot loads, ready.js from events is fired. I have a console.log to tell me when it is fired. It also creates an open port to receive metadata from a radio system to put as a channel topic in a guild.

Actual Behaviour

ready.js does not appear to fire. Nothing in the log about it firing, and the server port supposed to start up on ready is not started.

Steps to Reproduce.

  1. create a ready.js script in events.
  2. Make ready.js output something to the console on fire.
  3. Start the bot via. pm2 or via. node.
  4. ready.js does not appear to fire.
@CyberiumShadow CyberiumShadow self-assigned this Mar 17, 2017
@CyberiumShadow
Copy link
Collaborator

This is a known bug and is currently fixed on the Utils branch.

I'll backport the fix onto 0.18 and as such, 0.18.1 will be the fixed version.

I'll get back to you once its done.

@CyberiumShadow
Copy link
Collaborator

CyberiumShadow commented Mar 17, 2017

Ready for merge to Indev and incidentally master as well for a NPM release as 0.18.1 as per #143

Just waiting for @UnseenFaith to approve the PR

@UnseenFaith
Copy link
Owner

@Lovinity Fixed and will be instated on the next NPM version of Komada, (0.18.1, UtilsHotFix).
Thank you for using the issues tab for reporting this bug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants