Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zzarcon committed Jan 30, 2020
1 parent ce20fa8 commit 855228d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions example/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import LuckyBot from '../src';
import {getAccount} from './accounts';

const run = async () => {
const user = process.env.LUCKYBOT_USER;
Expand All @@ -20,13 +19,6 @@ const run = async () => {
await bot.close();
};

const likeFollowersPhotos = async (bot: LuckyBot) => {
const accountId = getAccount();
console.log('likeFollowersPhotos', {accountId});
const likedMedias = await bot.likeFollowersPhotos(accountId, {maxLikes: 2});
console.log({likedMedias});
}

const likeHashtag = async (bot: LuckyBot) => {
const hastag = process.env.LUCKYBOT_HASTAG || 'travelphotography';

Expand Down

0 comments on commit 855228d

Please sign in to comment.