invoke abstract method

Future<void> invoke(
  1. T context
)

Parse arguments, verify checks, call execute and handle call hooks.

This method might throw uncaught CommandsExceptions and should be handled with care. Thrown exceptions will not be added to CommandsPlugin.onCommandError unless called from within a "safe" context where uncaught exceptions are caught anyways.

Implementation

Future<void> invoke(T context);