Skip to content

Commit

Permalink
moveNode() => move()
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldb09 committed Jun 15, 2022
1 parent a012fc6 commit 5c35716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/config/fix.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Skip extends BaseCommand {
n = Number(e.dispatcher.node.name) > 6 ? Number(e.dispatcher.node.name) - 1 : Number(e.dispatcher.node.name) + 1;
return (
n ?
(r ? r.moveNode(n) : e.dispatcher ? e.dispatcher.player.moveNode(n) : e.errorMessage("No player found for this server"), e.successMessage("Moved your player to a closer node!")) :
(r ? r.move(n) : e.dispatcher ? e.dispatcher.player.move(n) : e.errorMessage("No player found for this server"), e.successMessage("Moved your player to a closer node!")) :
e.errorMessage("Please return a node name (1-4)"),
e.dispatcher.player.connection && 3 != e.dispatcher.player.connection.state ?
"rotterdam" !== e.member.voice.channel.rtcRegion ?
Expand Down

0 comments on commit 5c35716

Please sign in to comment.