Closed AZMindroma closed 5 days ago
Nevermind, I realized that there is a proper system to lock versions, But I guess somehow I will need to downgrade the Rust API. I apologize! However, nonetheless I think there will need to be an older Rust version to build this successfully. Do you know which version you used? Currently mine is cargo 1.82.0 (8f40fc59f 2024-08-21).
Since this project seems to be a bit old already I already had some worries about it not working, and well, I guess I was right!
Fear not ! I am still very active on github and will try to fix this error TODAY :)
Thanks for raising the issue ! (and saying nice things about the project ❤️)
Ok so I've updated the dependencies and the code and it now compiles and runs without issues for me on latest rust :)
Do tell me if there is any remaining problem but in the meantime i'm marking this issue as completed 👍
The bot also compiles for me now, thank you!!! :heart: It also runs, but then another issue arose.
For the most of the channels, the bot claims to not have the ability to read past messages, possibly due to [Read Message History] permission missing from the bot. I gave the bot permission to View Channels and to Read Message History, but it still didn't work. Then I added Admin role to the bot, but it still didn't work.
However, what is weird that it works on certain channels (there are no special permissions there that cause them to be different). Messages read and from the channels that are read, the bot makes the wordcloud :) But I don't know how to resolve the couldn't read past messages issue. Once again, thank you! :)
For the most of the channels, the bot claims to not have the ability to read past messages, possibly due to [Read Message History] permission missing from the bot. I gave the bot permission to View Channels and to Read Message History, but it still didn't work. Then I added Admin role to the bot, but it still didn't work.
Ah I ran across this and assumed it was just a new permission I forgot to add to the bot, but if you're saying that the message persists despite giving proper permission to the bot that's a real issue indeed 😬
I moved it to here https://github.com/Inspirateur/wordy/issues/2
Hey there! I loved your original WordCloud bot and saw that this is a thing now since the one beforehand didn't work. Since this project seems to be a bit old already I already had some worries about it not working, and well, I guess I was right! When following the guide, I got this error:
So I ran
cargo update
.Then built the program again. Then, this error came:
So I put this into the Cargo.toml:
moka = { version = "*", features = ["sync"] }
And tried again.
Then this error came:
And I guess this might be because of changes in new versions that break how these crates work. So I wanted to ask if it's possible to have a more precise version requirement for all the dependencies of this program so that we can install the old versions to make the bot work. Thank you in advance!