Home > Mobile >  Argument is not fully displayed in discord.js v12
Argument is not fully displayed in discord.js v12

Time:10-04

My arg is not fully displayed. It sends only the first word. I don't know what to try. Here is my problem I want to fix: Input: Output: And here is a hastebin with my code: https://hastebin.com/okayobanuz.js

CodePudding user response:

your code says const comment = args[1]; which is only one word, you need to use const comment = args.slice(1).join(" "); to get full argument

  • Related