JartanFTW / Trade-Notifier

A trade notifier for Roblox. Sends a Discord webhook whenever you complete/receive/send a trade.
Apache License 2.0
15 stars 2 forks source link

Auto-Create-Config based on horizon_config_example.ini if present #92

Closed JartanFTW closed 3 years ago

JartanFTW commented 3 years ago

Summary

Basically would just copy paste horizon_config_example.ini as horizon_config.ini on startup if no horizon_config.ini could be found.

Motivation

Prevents error confusion caused by missing config.

Additional Information

Will need extra error handling in the event that horizon_config_example.ini isn't present either.

JartanFTW commented 3 years ago

Thinking about this further, this isn't a great idea because users seem to frequently edit the example config itself, which would just cause further confusion when Horizon uses it to create the actual config