From 0ed7e64550d291ccf390bdcc223a42dd989b9684 Mon Sep 17 00:00:00 2001 From: yky4589 Date: Sun, 25 Oct 2020 17:20:11 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=981=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/index.ts b/src/test/index.ts index ae4d1d9..f4fd13b 100644 --- a/src/test/index.ts +++ b/src/test/index.ts @@ -13,21 +13,21 @@ bot.connect(TOKEN, [GatewayIntents.GUILD_MEMBERS, GatewayIntents.GUILD_PRESENCES const member = await Member.autoInit(bot, { cacheName: 'member', endpoint: 'GUILD_MEMBER', - restURLfuncArgs: ['668753256419426314', '333432936390983680'] + restURLfuncArgs: ['', ''] }) console.log('getted (cached) ' + member.nick) setInterval(async () => { //refreshed check console.log('refreshed check: ' + member.nick) //cached - console.log('cache: '+( cache.get('member', '668753256419426314:333432936390983680')).nick) + console.log('cache: '+( cache.get('member', '')).nick) }, 10000) setInterval(async() => { member.refresh(bot, { cacheName: 'member', endpoint: 'GUILD_MEMBER', - restURLfuncArgs: ['668753256419426314', '333432936390983680'] + restURLfuncArgs: ['', ''] }) //refreshed console.log('refreshed: ' + member.nick)