diff --git a/src/github.js b/src/github.js index 105e640..0d41561 100644 --- a/src/github.js +++ b/src/github.js @@ -58,7 +58,8 @@ class GithubUser { async fetchContent() { this.octocat = await octokit.request("GET /octocat"); - console.log(util.color.magenta(util.arrayBufferToAsciiString(this.octocat.data))); + const ansi = util.arrayBufferToAsciiString(this.octocat.data); + console.log(util.color.randomColorANSI(ansi)); this.userContent = await octokit.request("GET /users/{username}", { username: this.userName,