if(is_a($bot, "Bot") && method_exists($bot, $method)) {
if(array_key_exists($type, self::$bindings)) {
foreach(self::$bindings[$type] as $binding) {
if(is_a($bot, "Bot") && method_exists($bot, $method)) {
if(array_key_exists($type, self::$bindings)) {
foreach(self::$bindings[$type] as $binding) {