wip
This commit is contained in:
parent
3d5cdb8d2d
commit
1acc30822d
90 changed files with 286 additions and 286 deletions
|
@ -297,7 +297,7 @@ class TlContext extends Context {
|
|||
private async getTl() {
|
||||
const tl = await require('../endpoints/posts/timeline')({
|
||||
limit: 5,
|
||||
until_id: this.next ? this.next : undefined
|
||||
untilId: this.next ? this.next : undefined
|
||||
}, this.bot.user);
|
||||
|
||||
if (tl.length > 0) {
|
||||
|
@ -349,7 +349,7 @@ class NotificationsContext extends Context {
|
|||
private async getNotifications() {
|
||||
const notifications = await require('../endpoints/i/notifications')({
|
||||
limit: 5,
|
||||
until_id: this.next ? this.next : undefined
|
||||
untilId: this.next ? this.next : undefined
|
||||
}, this.bot.user);
|
||||
|
||||
if (notifications.length > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue