-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Nyaran/feature/rename
feat() Apply new name
- Loading branch information
Showing
3 changed files
with
14 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
ko_fi: alfem | ||
# These are supported funding model platforms | ||
ko_fi: nyaran | ||
custom: | ||
- https://www.buymeacoffee.com/nyaran |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/usr/bin/env python3 | ||
# Telegram Download Daemon | ||
# Author: Alfonso E.M. <[email protected]> | ||
# Telegram Download Daemon NG | ||
# Author: Luis Zurro <[email protected]> | ||
# Based on original work from: Alfonso E.M. <[email protected]> [https://github.com/alfem/telegram-download-daemon] | ||
# You need to install telethon (and cryptg to speed up downloads) | ||
|
||
from os import getenv, path | ||
|
@@ -30,7 +31,7 @@ | |
import asyncio | ||
|
||
|
||
TDD_VERSION="1.13" | ||
TDD_VERSION="0.0.1" | ||
|
||
TELEGRAM_DAEMON_API_ID = getenv("TELEGRAM_DAEMON_API_ID") | ||
TELEGRAM_DAEMON_API_HASH = getenv("TELEGRAM_DAEMON_API_HASH") | ||
|
@@ -113,8 +114,8 @@ | |
|
||
async def sendHelloMessage(client, peerChannel): | ||
entity = await client.get_entity(peerChannel) | ||
print("Telegram Download Daemon "+TDD_VERSION+" using Telethon "+__version__) | ||
await client.send_message(entity, "Telegram Download Daemon "+TDD_VERSION+" using Telethon "+__version__) | ||
print("Telegram Download Daemon NG "+TDD_VERSION+" using Telethon "+__version__) | ||
await client.send_message(entity, "Telegram Download Daemon NG"+TDD_VERSION+" using Telethon "+__version__) | ||
await client.send_message(entity, "Hi! Ready for your files!") | ||
|
||
|
||
|