GlueHandler.init() - shysolocup/noscord.js GitHub Wiki

creates a new glued event with the given info

notes:

  • optional term argument lets you filter the event for certain flags
  • func callback argument must return an Array


Function Sync

Arguments:

  • name(s) String or Array
    name(s) of the new event

  • func Function
    callback for altering the output of the Discord.JS event
    must return an Array

  • glue String
    Discord.JS event to glue to

  • ?term Function
    acts as a sort of filter where you can check the output of the Discord.JS event for certain flags




⚠️ **GitHub.com Fallback** ⚠️