forwards-long-jump / discotron

Modular Discord bot supporting plugins hosted on git repositories
MIT License
3 stars 5 forks source link

Move all action definitions in their own folder #117

Closed Blatoy closed 4 years ago

Blatoy commented 4 years ago

Can use subfolders

Blatoy commented 4 years ago

We could also rework the hierarchy while we are at it, here's a first draft on what I think could be changed

dashboard/
    images/
    src -> scripts/
        controllers/
        models/
        views/
    +style/
        main.css
        mobile.css
    index.html
    (login.html -> src/views)
    (help.html -> src/views)
models/ -> shared-models/
bot/ -> server/
    +actions/
        guilds
        ...
    classes/ -> models/
    apis/ -> controllers/
        discotron.js
        webserver.js
        web-api.js
    utils/
    migrations/
    config/