mirror of
https://github.com/tribufu/sdk-js
synced 2025-06-16 10:44:17 +00:00
Parse bot token to get id and add examples
This commit is contained in:
@ -47,6 +47,14 @@ export class TribufuServer extends TribufuClient {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the server id.
|
||||
* @returns string
|
||||
*/
|
||||
public getServerId(): string {
|
||||
return this.serverId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a list of connected users.
|
||||
* @returns
|
||||
|
Reference in New Issue
Block a user