fix joinArguments conf

This commit is contained in:
Lukáš Horáček 2020-04-12 11:22:28 +02:00
parent fe5a9ccdc2
commit 8e850b1adf
No known key found for this signature in database
GPG key ID: E07D6630DBC17195

View file

@ -111,7 +111,7 @@ module.exports = async (client, message) => {
if(cmd.conf.joinArguments) {
if(args.length > cmd.conf.joinArguments && args.length > 1)
{
argsPossiblyJoined[argsLength - 1] = args.slice(argsLength - 1).join(' ');
argsPossiblyJoined[cmd.conf.joinArguments - 1] = args.slice(cmd.conf.joinArguments - 1).join(' ');
}
};