Open LaiAlexander opened 10 months ago
DRY
watermark: https://github.com/ESN-Trondheim/ESNbot/blob/cfc0bd24ae3d89333d7ce434d639fd7794e00cbb/esnbot/commands.py#L178-L180
coverphoto: https://github.com/ESN-Trondheim/ESNbot/blob/cfc0bd24ae3d89333d7ce434d639fd7794e00cbb/esnbot/commands.py#L253-L255
These should be a function that is a part of main.BotClient(). If we want to do any changes, we will then only have to change the function itself instead of in two places.
main.BotClient()
DRY
watermark: https://github.com/ESN-Trondheim/ESNbot/blob/cfc0bd24ae3d89333d7ce434d639fd7794e00cbb/esnbot/commands.py#L178-L180
coverphoto: https://github.com/ESN-Trondheim/ESNbot/blob/cfc0bd24ae3d89333d7ce434d639fd7794e00cbb/esnbot/commands.py#L253-L255
These should be a function that is a part of
main.BotClient()
. If we want to do any changes, we will then only have to change the function itself instead of in two places.