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

Sometimes Heroku triggers deployment randomly #1

Open
BoQsc opened this issue Jun 17, 2021 · 3 comments
Open

Sometimes Heroku triggers deployment randomly #1

BoQsc opened this issue Jun 17, 2021 · 3 comments
Labels
invalid This doesn't seem right

Comments

@BoQsc
Copy link

BoQsc commented Jun 17, 2021

Sometimes Heroku triggers deployment randomly
Issue: After a new deployment the Bot no longer knows that it needs to execute the command.
(The function is no longer in the RAM memory)

Resolve: Make a Bot remember the last --bla and its channel.

@BoQsc
Copy link
Author

BoQsc commented Jun 17, 2021

Checking the history of !d bump message and calculating the time from the last message could resolve this.

As in https://codeberg.org/SnowCode/auto-bump/src/branch/master/bot.py#L30

@BoQsc
Copy link
Author

BoQsc commented Jun 17, 2021

Can be set to post to in specific channel when the bot is on_ready() event.

Random posting is good thing.
Just set the interval every time the on_ready() event happens.

@BoQsc
Copy link
Author

BoQsc commented Jun 17, 2021

At 13 minutes the Heroku logging stopped

@BoQsc BoQsc added the invalid This doesn't seem right label Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant