pcparadise / discordbot

GNU General Public License v3.0
3 stars 5 forks source link

Make config.ini not dependant on where you run the bot from #7

Closed awsomearvinder closed 3 years ago

awsomearvinder commented 3 years ago

Two possible methods for going about this is either going off of the path of the current script, or we could find a library similar to the dirs-next library in rust which finds the canonical "correct" place to read/write configs in on that particular OS.

Frankly - I'm fine with both approaches, but I would like it to be able to load it from within the file hierarchy of the source.