From 94f5d3a17b0ef78e048d3d6b3f2047138a0aed76 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Sun, 29 Jan 2023 09:56:13 +1100 Subject: [PATCH] [object Object] --- src/commands/dev.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/dev.ts b/src/commands/dev.ts index 07c801e..ec24a21 100644 --- a/src/commands/dev.ts +++ b/src/commands/dev.ts @@ -72,7 +72,7 @@ export default { var githubRepo = {owner: 'AnxietyisReal', repo: 'Daggerbot-TS', ref: 'HEAD'} const octokit = new Octokit({timeZone: 'Australia/NSW', userAgent: 'Daggerbot'}) const fetchCommitMsg = await octokit.repos.getCommit(githubRepo).then(x=>x.data.commit.message); - const fetchCommitAuthor = await octokit.repos.getCommit(githubRepo).then(x=>x.data.commit.author); + const fetchCommitAuthor = await octokit.repos.getCommit(githubRepo).then(x=>x.data.commit.author.name); const clarkson = await interaction.reply({content: 'Pulling from repository...', fetchReply: true}); exec('git pull',(err:Error,stdout)=>{ if (err){