jidoc01 / RustyDO

A server emulator for Digimon Online v1.5.
GNU Affero General Public License v3.0
53 stars 12 forks source link

Load ticker messages from config #15

Closed DigiEggz closed 1 month ago

DigiEggz commented 2 months ago

Loads the ticker messages from the main config.toml file. Closes #6.

DigiEggz commented 2 months ago

This is my first time writing Rust code, so please excuse any sloppiness. Open to changes or suggestions!

jidoc01 commented 2 months ago

Thank you for your contribution to our project! I will check it soon.

jidoc01 commented 1 month ago

Sorry for my late reply here. Other than the one above, I am okay with the current modification.

DigiEggz commented 1 month ago

Sorry for my late reply here. Other than the one above, I am okay with the current modification.

Is there anything you'd like me to change before you merge? Sorry if I missed something.

jidoc01 commented 1 month ago

Sorry for my late reply here. Other than the one above, I am okay with the current modification.

Is there anything you'd like me to change before you merge? Sorry if I missed something.

Could you please remove the double colon preceding an external module name config? You can check my review above.

DigiEggz commented 1 month ago

Sorry for my late reply here. Other than the one above, I am okay with the current modification.

Is there anything you'd like me to change before you merge? Sorry if I missed something.

Could you please remove the double colon preceding an external module name config? You can check my review above.

I can't see the review for some reason, but I will make suggested change. The review section is blank as well. It may be for the reason talked about here: https://github.com/orgs/community/discussions/30638

Edit: When I remove the double colon, I get the following error:

`config` is ambiguous
note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution
help: use `::config` to refer to this crate unambiguously
jidoc01 commented 1 month ago

Sorry for my late reply here. Other than the one above, I am okay with the current modification.

Is there anything you'd like me to change before you merge? Sorry if I missed something.

Could you please remove the double colon preceding an external module name config? You can check my review above.

I can't see the review for some reason, but I will make suggested change. The review section is blank as well. It may be for the reason talked about here: https://github.com/orgs/community/discussions/30638

Edit: When I remove the double colon, I get the following error:

`config` is ambiguous
note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution
help: use `::config` to refer to this crate unambiguously

The review section is blank as well.

Thank you for letting me know. Let me check it.

I get the following error

Ooh, your current mod declares config as a public module since a login handler uses it now that is why the conflict occurs. You can let it be. All good!