diff --git a/src/server.ts b/src/server.ts index 469b75d..e8ba6ed 100644 --- a/src/server.ts +++ b/src/server.ts @@ -55,6 +55,14 @@ export class TribufuServer extends TribufuClient { return this.serverId; } + /** + * Get information about the current server. + * @returns Server | null + */ + public async getServerInfo(): Promise { + return this.getServerById(this.serverId); + } + /** * Get a list of connected users. * @returns