Comments (29)
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.
from pzserverdiscordbot.
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.
from pzserverdiscordbot.
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.
and yeah, the pzlogs show me that
from pzserverdiscordbot.
np, thank you
from pzserverdiscordbot.
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.
from pzserverdiscordbot.
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.
hmm i tried but nothing, when i turn on the bot the command channel back to "0" in config.
from pzserverdiscordbot.
and just give me a black screen, the server don't turn on
from pzserverdiscordbot.
just the bot, not like the compiled version
from pzserverdiscordbot.
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.
same error, i ran in a public channel.
"the bot isn't configured yet"
from pzserverdiscordbot.
ps: i just made a translations change in source
from pzserverdiscordbot.
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.
from pzserverdiscordbot.
yeah, the bot responds with a "x" reaction
from pzserverdiscordbot.
Does it respond with any message?
from pzserverdiscordbot.
react then send this message: Bot configuration haven't done yet.
from pzserverdiscordbot.
when i use the command to define the command channel etc
from pzserverdiscordbot.
Can you send me screenshot of the channel? With your messages visible. (Just like the picture that I sent above)
from pzserverdiscordbot.
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.
from pzserverdiscordbot.
Did you change any translation in CommandHandler.cs
line 122?
This is the original line:
else if(!isBotConfigured && commandModule != "BotCommands")
from pzserverdiscordbot.
yes i do maybe i messed the source...
let me try compile without changes
from pzserverdiscordbot.
there shouldn't be any problem as long as file names aren't changed or class names
from pzserverdiscordbot.
worked i messed the class names.
one more question
how can i make the bot work with pz?
from pzserverdiscordbot.
Nice.
It worked, thanks for you time!
from pzserverdiscordbot.
Nice. It worked, thanks for you time!
You are welcome, good luck! :)
from pzserverdiscordbot.
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)
- server freezing unless I press enter ? HOT 6
- Default @everyone HOT 2
- Localization of Traditional Chinese HOT 6
- Localization of French HOT 4
- Disallowed Intents Error HOT 3
- Increased Crop Growth Time after Server Restart HOT 4
- Not auto check update mods after change version from 1.9.1 to 1.11.0 HOT 3
- exe cant recognize bot_token.txt file HOT 1
- ISSUE HOT 3
- Localization of Traditional Chinese HOT 2
- Feature suggestion: After !server_cmd command, display server replay HOT 1
- PZ BOT localization HOT 1
- WebSocket connection was closed HOT 1
- non Amount for additems command in bot HOT 2
- Restart schedules off HOT 2
- Bot Auto server status HOT 3
- Localization of Italian HOT 3
- [BUG] HOT 1
- [SUPPORT] I can't change the location HOT 1
- [BUG] Bot continously warning for deleted/removed workshop mod HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pzserverdiscordbot.