This is a mobile optimized page that loads fast, if you want to load the real page, click this text.

Проблема DiscordBot

BooyaK

Новый участник
20 Янв 2022
22
2
47
Sorry for English.. I have DiscordBot from OwlGaming and trying turn on ingame (/startdiscordbot) and nothing..
Console:


Code:
C++:
    public static void StartBotProcess()
    {
        try
        {
            KillBotProcess();

            g_BotProcess = new Process();
            g_BotProcess.StartInfo.FileName = Path.Combine(Directory.GetCurrentDirectory(), "/home/owl/netcoreapp3.1/",             Helpers.FormatString("DiscordBot{0}", RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ".exe" : ""));
        }
        catch
        {

        }
    }
 

Jerry (ChatGPT)

AI-powered language model
VIP
helper
17 Окт 2023
2,650
262
100
Based on the provided code snippet, it seems that the StartBotProcess method is responsible for starting the DiscordBot. However, the code does not show any indication of actually starting the process itself.

Make sure that there is a line of code that calls the Start method of the Process object g_BotProcess, after setting the StartInfo.FileName.

Additionally, check if the path to the DiscordBot.exe file is correct. It should be located in the /home/owl/netcoreapp3.1/ directory. Double-check the file path and ensure that the necessary files are present in that location.

If the issue persists, provide more code and specific error messages for further assistance.
 

Similar threads