Revert "fix Client.destroy bugs" (#839)

This commit is contained in:
Amish Shah
2016-10-26 17:30:18 +01:00
committed by GitHub
parent 18e9850e1e
commit 7d04863b66
4 changed files with 20 additions and 26 deletions

View File

@@ -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());