unhandled RangeError with users command
Using =users
with either the t2
or t3
argument throws this exception. The command isn't disabled. The last message is just kept in a loading state.
RangeError [MESSAGE_CONTENT_TYPE]: Message content must be a non-empty string.
at Function.verifyString (/opt/CloudServices/node_modules/discord.js/src/util/Util.js:414:49)
at MessagePayload.makeContent (/opt/CloudServices/node_modules/discord.js/src/structures/MessagePayload.js:113:22)
at MessagePayload.resolveData (/opt/CloudServices/node_modules/discord.js/src/structures/MessagePayload.js:128:26)
at MessageManager.edit (/opt/CloudServices/node_modules/discord.js/src/managers/MessageManager.js:129:8)
at Message.edit (/opt/CloudServices/node_modules/discord.js/src/structures/Message.js:627:34)
at Users.run (/opt/CloudServices/dist/commands/users.js:57:21)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async default_1.run (/opt/CloudServices/dist/events/messageCreate.js:50:13)