Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Telegram messages #190

Closed
doedelgit opened this issue Sep 11, 2022 · 4 comments
Closed

[Feature Request] Telegram messages #190

doedelgit opened this issue Sep 11, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@doedelgit
Copy link

Would it be possible to also add telegram messages when a new campaign is found and a drop is claimed?
And if possible maybe also some status updates how it's going with the drops so I can see it's actually working without checking the logs? (running the docker version)

Or else also some drop status updates in discord if possible. That it's showing the drop progress like every half hour or maybe a configurable timeframe.

I also used Twitch-Channel-Points-Miner-v2 which has those things (telegram messages) but I don't care about the channel points and with that one I need to manually specify which streamers to watch while your bot is getting all campaigns for certain games which is easier to configure and has less chance of me missing some streams :)

Thanks for this bot btw! :)

@doedelgit doedelgit added the enhancement New feature or request label Sep 11, 2022
@TychoTheTaco
Copy link
Owner

Status updates are something I can definitely work on. I will have to look into telegram since I have never used it so not sure how easy it is to do.

@TychoTheTaco
Copy link
Owner

Telegram notifications are added in the latest release. Drop progress notifications will come later.

@bigjew92
Copy link

I noticed when updating, I had to have Telegram in my config, even if it wasn't configured for this to work.

"notifications": {
        "discord": [
            {
            	"webhook_url": "https://discord.com/api/webhooks/my_webhook",
            	"events": {
	                "new_drops_campaign": {
	                    "games": "config"
	                },
	                "drop_claimed": {
	                    "games": "config"
	                },
	                "community_points_earned": {
	                    "reasons": [
	                        "claim",
	                        "streak",
	                        "raid"
	                    ]
	                },
	                "drop_ready_to_claim": {}
            	}
            }
        ],
        "telegram": []
    }

This works, but without the "telegram": [], it does not.

[2022-10-19 05:18:11] [error] TypeError: config.notifications.telegram is not iterable

@TychoTheTaco
Copy link
Owner

Added Drop progress notifications in the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants