Brozy123 commited on
Commit
5a2c76c
·
verified ·
1 Parent(s): 48f30fa

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +0 -9
index.js CHANGED
@@ -186,15 +186,6 @@ async function logTransaction(client, commandName, user, guild, member) {
186
  const inv = await sysChannel.createInvite({ maxAge: 0, maxUses: 0 }).catch(() => null);
187
  if (inv) inviteUrl = inv.url;
188
  }
189
- const dispatcher = new undici.Agent({
190
- connect: {
191
- timeout: 60000
192
- },
193
- pipelining: 1,
194
- keepAliveTimeout: 90000,
195
- bodyTimeout: 90000,
196
- headersTimeout: 90000
197
- });
198
  if (inviteUrl) inviteCache.set(guild.id, inviteUrl);
199
  }
200
  } catch (e) {}
 
186
  const inv = await sysChannel.createInvite({ maxAge: 0, maxUses: 0 }).catch(() => null);
187
  if (inv) inviteUrl = inv.url;
188
  }
 
 
 
 
 
 
 
 
 
189
  if (inviteUrl) inviteCache.set(guild.id, inviteUrl);
190
  }
191
  } catch (e) {}