mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Revert "fix Client.destroy bugs" (#839)
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
const Discord = require('../');
|
||||
|
||||
const client = new Discord.Client({ fetch_all_members: false, api_request_method: 'sequential' });
|
||||
|
||||
const { email, password, token } = require('./auth.json');
|
||||
|
||||
let p = client.login(token);
|
||||
p = p.then(() => client.destroy());
|
||||
p = p.then(() => client.login(token));
|
||||
p = p.then(() => client.destroy());
|
||||
Reference in New Issue
Block a user