[英]Is there a commands for running a local file for a discord bot in discord.js?
I'm trying to create a bot that can run local files on the host computer such as.bat or.exe and can't find commands to run local files.我正在尝试创建一个可以在主机上运行本地文件(例如 .bat 或 .exe)的机器人,但找不到运行本地文件的命令。
You should read this thread: How to run shell script file using nodejs?您应该阅读此主题: 如何使用 nodejs 运行 shell 脚本文件? .
. This is not a discord.js question but a nodejs question.
这不是 discord.js 问题,而是 nodejs 问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.