Skip to content

Restructure MasterBotArgs into ConfigFile that contains Bot/Webserver configs #76

@Jokler

Description

@Jokler

Is your feature request related to a problem? Please describe.
Currently the MasterBotArgs struct acts as the config file for the webserver too.

Describe the solution you'd like
The webserver configuration should be separate from the bot config with the config file being defined by a struct that contains both.

Additional context
Relevant lines of code:
https://github.com/Mavulp/pokebot/blob/67c11897f164ff825a499f8c1296bb5c90658f06/src/bot/master.rs#L29-L43

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersimprovementSomething is not as good as it could be

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions