Repository navigation
Q: How do I start a bot in the manager?A: To start a bot, select it from the list on the left sidebar. Then, click the "Start Bot" button in the bot details panel. Ensure your bot's project has been built (e.g., via Q: Why isn't my bot starting? I'm getting a "JAR Not Found" error.A: This error typically means the manager cannot locate your bot's executable JAR file.
Q: How do I stop a running bot?A: Select the running bot from the list, and then click the "Stop Bot" button in the bot details panel. This will terminate the bot's process. Q: How can I create a new Discord bot project using the manager?A: Click on the "Create New Bot" button in the main application window. This will launch a wizard that guides you through selecting a template (e.g., JDA or Discord4J for Java) and configuring basic project details. Q: How do I configure environment variables for my bot?A: Select your bot from the list. In the bot details panel, there's a section for "Environment Variables". You can add, edit, or remove key-value pairs here. These variables are crucial for secure token handling and flexible configuration. These variables will be passed to your bot's process when it starts. Q: What programming languages/frameworks does the manager support for bot creation?A: Currently, the Discord Bot Manager directly supports creating projects using Java with either the JDA (Java Discord API) or Discord4J frameworks. You can also import existing bot projects regardless of language, as long as you can provide the correct command to run their executable artifact. Q: How do I view the real-time console output of my running bot?A: When you select a running bot from the list, its real-time console output (stdout and stderr) will be displayed in the large text area at the bottom of the application window. This is useful for monitoring your bot's activity and debugging. Q: Can I add custom JVM arguments or a startup delay to my Java bot?A: Yes. Select your Java bot from the list. In the bot details section, you can specify custom JVM arguments (e.g., Q: What if I have an existing bot project? Can I import it?A: Yes, you can import existing bot projects. Click the "Import Existing Bot" button. You'll need to provide the path to your project. Ensure you know how to build your project to produce an executable JAR (for Java) or another runnable artifact, as the manager will use this to start your bot. The manager provides basic import functionality. Q: My bot sends messages, but I don't see them in the manager's console output. Why?A: The manager displays the standard output (console logs) from your bot's process. If your bot's messages are only being sent to Discord itself and not logged to its own console (e.g., using |
Replies: 1 comment
|
Please take your time reading the above information, if you have further questions please reach out through this dedicated Q&A discussion thread. |
Please take your time reading the above information, if you have further questions please reach out through this dedicated Q&A discussion thread.