Skip to content

new bot modular in docker compose #14

Description

@mortifia

for easier dev and prod (code, matain, accesibility, easier to new dev to work in this), matain os clean, run in all os,

for that

  • remove install.ps1

    only use docker command to build and run if we need extra step. add in dockerfile

  • remove debugBot

    (add complexity and only possibly used when dev (for debug in dev other and simpler methods exist ))

  • pass discord.py to v2 (mandatory if it is planned to be exported)

  • add choice to prefix Command /slash API discord #26

  • simplify and standardize code

  • install extra lib needed by extends at start of container to matain container modular
    pip install -r base.txt -r exdend1.txt -r extend2.txt

    sudo find . -name "requirement*" -type f -exec pip3 install -r '{}' ';'
    peut-être une voie a suivre pour gardé ca simple

  • use multifile extend in discord.py (cog)

    for dev check doc
    in docker compose 2~3 step :
    - extend by ading file or folder for extend
    - update env for extend to add name of the file - BOT_EXTEND=extend1, extend2 https://stackoverflow.com/a/74567575
    - (optionnal) add file for extra lib in good folder (not final path : extend_pip/) ! explain after
    new method :
    - add folder (event.py, and if needed pip)
    - start or reload (by docker-compose or command)

  • add auto add lib before load extension (by folder) (pip)

  • (for other ticket) doc for discord task in python to add routines like archives

  • merge docker-compose file to symplify ? article, doc

  • add httpd (apache) to base ?

  • ajouté "GMT +1 / -6" (france quebec) Bot_Planning_python#17

before release await this is ready

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions