mirror of https://github.com/coddrago/Heroku
fix: send avatar bot to botfather
parent
5c9cab926c
commit
cd7ff2eba8
|
@ -72,7 +72,10 @@ class TokenObtainment(InlineUnit):
|
||||||
await fw_protect()
|
await fw_protect()
|
||||||
from .. import main
|
from .. import main
|
||||||
|
|
||||||
m = await conv.send_file(main.BASE_PATH / "assets" / "heroku-ava.png")
|
if "DOCKER" in os.environ():
|
||||||
|
m = await conv.send_file("https://raw.githubusercontent.com/coddrago/Heroku/refs/heads/master/assets/heroku-ava.png")
|
||||||
|
else:
|
||||||
|
m = await conv.send_file(main.BASE_PATH / "assets" / "heroku-ava.png")
|
||||||
r = await conv.get_response()
|
r = await conv.get_response()
|
||||||
|
|
||||||
logger.debug(">> <Photo>")
|
logger.debug(">> <Photo>")
|
||||||
|
|
Loading…
Reference in New Issue