Skip to content

Commit

Permalink
Merge branch 'fix/bad-code' of https://github.com/switchbladebot/swit…
Browse files Browse the repository at this point in the history
…chblade into feat/channel-parameter
  • Loading branch information
fersilva16 committed Jul 10, 2019
2 parents 8a269f6 + 2abe224 commit 23d0ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Switchblade.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ module.exports = class Switchblade extends Client {
}

async initializeLoaders () {
for (let Loader in Loaders) {
const loader = new Loader(this)
for (let name in Loaders) {
const loader = new Loaders[name](this)
let success = false
try {
success = await loader.load()
Expand Down

0 comments on commit 23d0ce2

Please sign in to comment.