Closed whatahelll closed 1 year ago
Hey, source code is compiled succesfully, actually. Check pzbot.log
file. You will probably see some messages like this:
[01.12.2022 09:44:31 UTC]BotUtility.NotifyLatestBotVersion() - commandChannel is null.
And if you check your discord channel, you should see bot instructing you about setup: (If last created channel is visible to bot, that is. Otherwise bot won't send messages)
But maybe I should add a message to console that saying bot is running.
ooh, those messages haven't showed up to me when i type the command to create the channels i get the message that the bot is not configured yet.
and yeah, the pzlogs show me that
np, thank you
np, thank you
facepalms Sorry, I just checked out and there isn't any issue with setup commands.
Try to use the command like this. Tag a channel you want bot to work in.
If bot doesn't respond, that means bot has no access to channel that you just sent your message.
Edit: Be sure to check intent configuration as well. You can find more details in README.md
file.
By the way, I added some warning messages onto console as well. Just in case of someone builds the source code themselves and try to test some stuff. It will be added with the release of v1.8.0
.
hmm i tried but nothing, when i turn on the bot the command channel back to "0" in config.
and just give me a black screen, the server don't turn on
just the bot, not like the compiled version
It seems like you able to configure public and log channels but not command channel. Try to run !set_command_channel
in one of those (public or log) channels.
same error, i ran in a public channel. "the bot isn't configured yet"
ps: i just made a translations change in source
Translation shouldn't create any problem. Procedure follows as:
If bot doesn't respond with any reaction, it means it doesn't received the command at all. Which means two things: bot has no access to channel or wrong intent configuration.
yeah, the bot responds with a "x" reaction
Does it respond with any message?
react then send this message: Bot configuration haven't done yet.
when i use the command to define the command channel etc
Can you send me screenshot of the channel? With your messages visible. (Just like the picture that I sent above)
Okay, there is a check going on which fails because of translation. These checks are done in CommandHandler.cs
. You might want to take a look at it.
Did you change any translation in CommandHandler.cs
line 122?
This is the original line:
else if(!isBotConfigured && commandModule != "BotCommands")
yes i do maybe i messed the source... let me try compile without changes
there shouldn't be any problem as long as file names aren't changed or class names
worked i messed the class names. one more question how can i make the bot work with pz?
worked i messed the class names. one more question how can i make the bot work with pz?
First, you need to build (&run) it in release configuration. Second, just follow the steps in README.md
and you are good to go.
Nice. It worked, thanks for you time!
Nice. It worked, thanks for you time!
You are welcome, good luck! :)
Hey there, I am planning to add a localization system which will allow people to easily change the command names, their descriptions, bot responses etc. to their own language. My plan is to add this feature with v1.8.0
along with auto-update system. No release date though so I am just writing this to give a heads up :)
When the project has compiled, the .exe is just a black screen, the server doesn't exec neither bot.