chat added send information to admins
This commit is contained in:
parent
30fcc219d3
commit
afa15217a2
@ -149,6 +149,20 @@ class Chat {
|
|||||||
return $this->sendChat($format . $message, $login, $prefix);
|
return $this->sendChat($format . $message, $login, $prefix);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sends a Information Message to all connected Admins
|
||||||
|
*
|
||||||
|
* @param string $message
|
||||||
|
* @param int $minLevel
|
||||||
|
* @param bool|string $prefix
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public function sendInformationToAdmins($message, $minLevel = AuthenticationManager::AUTH_LEVEL_MODERATOR, $prefix = true) {
|
||||||
|
$format = $this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_FORMAT_INFORMATION);
|
||||||
|
return $this->sendMessageToAdmins($format . $message, $minLevel, $prefix);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sends a Success Message to all connected Admins
|
* Sends a Success Message to all connected Admins
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user