Class: Profile

Profile

new Profile(taskManager, community, auth, logger)

A class to handle all profile functions for the bot account
Parameters:
Name Type Description
taskManager
community
auth
logger
Source:

Methods

changeDisplayName(newName, namePrefix, callbackErrorOnly)

Change the display name of the account (with prefix)
Parameters:
Name Type Description
newName String The new display name
namePrefix String The prefix if there is one (Nullable)
callbackErrorOnly callbackErrorOnly A callback returned with possible errors
Source:

getDisplayName() → {String|undefined}

Get the display name of the account
Source:
Returns:
displayName - Display name of the account
Type
String | undefined