Giter Club home page Giter Club logo

Comments (29)

egebilecen avatar egebilecen commented on June 28, 2024 1

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.

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

image

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

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)

Screenshot_1

But maybe I should add a message to console that saying bot is running.

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

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.

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

and yeah, the pzlogs show me that

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

np, thank you

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

np, thank you

facepalms Sorry, I just checked out and there isn't any issue with setup commands.

image
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.

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

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.

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

hmm i tried but nothing, when i turn on the bot the command channel back to "0" in config.

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

and just give me a black screen, the server don't turn on

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

just the bot, not like the compiled version

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

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.

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

same error, i ran in a public channel.
"the bot isn't configured yet"

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

ps: i just made a translations change in source

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

Translation shouldn't create any problem. Procedure follows as:
Screenshot_1

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.

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

yeah, the bot responds with a "x" reaction

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

Does it respond with any message?

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

react then send this message: Bot configuration haven't done yet.

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

when i use the command to define the command channel etc

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

Can you send me screenshot of the channel? With your messages visible. (Just like the picture that I sent above)

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

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.

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

image

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

Did you change any translation in CommandHandler.cs line 122?

This is the original line:

else if(!isBotConfigured && commandModule != "BotCommands")

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

yes i do maybe i messed the source...
let me try compile without changes

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

there shouldn't be any problem as long as file names aren't changed or class names

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

worked i messed the class names.
one more question
how can i make the bot work with pz?

from pzserverdiscordbot.

X2yy avatar X2yy commented on June 28, 2024

Nice.
It worked, thanks for you time!

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

Nice. It worked, thanks for you time!

You are welcome, good luck! :)

from pzserverdiscordbot.

egebilecen avatar egebilecen commented on June 28, 2024

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 :)

from pzserverdiscordbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.