Cog-Creators / Cog-Creators/Red-DiscordBot

Add a command to ignore checking updates on bot's startup

Open
#5,465 5 comments 0 reactions 0 assignees View on GitHub
Category: Core - Command-line Interfaces Status: Needs Discussion Type: Enhancement
Dominant language
Python
Stars
5.7k
Forks
2.5k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

### What component of Red (cog, command, API) would you like to see improvements on?

Core

### Describe the enhancement you're suggesting.

I've been kind of spammed by my bot each time I had to reboot my Raspberry Pi which host multiple things, and also a Red instance, however I am not interested to update my Red instance for a patch update (3.4.12 -> 3.4.14 in my case), and it made me thought, "Wouldn't it be nice to be able to ignore update checks everytime my bot start?"

Any modern program of today usually allow you to either ignore this specific version or ignore all new versions. I think it would be great if we add a command that would make Red ignore update checking. As I can think off, `[p]ignorecheckupdates`.

### Anything else?

I think the command I am proposing could have 2 ways to be used:

### 1st proposition
The command has the following syntax: `[p]ignorecheckupdates`.
When we run it, the command will ask how do we want to ignore new updates, like this:
![image](https://user-images.githubusercontent.com/61093863/145716781-59c5fbc0-30c7-497a-825c-e1c4db3ce9b1.png) (Text is NOT final)
### 2nd proposition
The command has the following syntax: `[p]ignorecheckupdates [choice]`.
The docstring will contain pretty much the same explainations like above, it'll simply just not be a MessagePredicate anymore.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.