diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-11 01:15:11 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-11 01:15:11 +0900 |
| commit | f3dd5da931fb4cb946d9243b6735b68927ca8a61 (patch) | |
| tree | 2842e3f26591e152d99e713a632ef96ff3dfeb22 /src/api/bot | |
| parent | Fix bug (diff) | |
| download | sharkey-f3dd5da931fb4cb946d9243b6735b68927ca8a61.tar.gz sharkey-f3dd5da931fb4cb946d9243b6735b68927ca8a61.tar.bz2 sharkey-f3dd5da931fb4cb946d9243b6735b68927ca8a61.zip | |
Improve readability
Diffstat (limited to 'src/api/bot')
| -rw-r--r-- | src/api/bot/core.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/bot/core.ts b/src/api/bot/core.ts index 4b8d244471..ddae6405f5 100644 --- a/src/api/bot/core.ts +++ b/src/api/bot/core.ts @@ -313,7 +313,7 @@ class TlContext extends Context { this.emit('updated'); const text = tl - .map(post => post.user.name + ': ' + getPostSummary(post)) + .map(post => `${post.user.name}\n「${getPostSummary(post)}」`) .join('\n-----\n'); return text; |