Removed bot name, we're going old-school.
This commit is contained in:
parent
54a8a59ee8
commit
45edd758a1
1 changed files with 1 additions and 18 deletions
|
@ -4,13 +4,6 @@
|
|||
|
||||
class Bot
|
||||
{
|
||||
/**
|
||||
* The bot's username
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $username;
|
||||
|
||||
/**
|
||||
* The bot's token
|
||||
*
|
||||
|
@ -21,23 +14,13 @@
|
|||
/**
|
||||
* Public Constructor
|
||||
*
|
||||
* @param string $username
|
||||
* @param string $token
|
||||
*/
|
||||
public function __construct(string $username, string $token)
|
||||
public function __construct(string $token)
|
||||
{
|
||||
$this->username = $username;
|
||||
$this->token = $token;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername(): string
|
||||
{
|
||||
return $this->username;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue