add back the silent kwarg to message.delete #9
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Just adding back the old feature to 2.0 :mmlool:
Checklist
..versionadded:: 2.0
can be shortened to:
That's already done 2bc75d5
ah, my bad
Nah, it's my bad for not noticing it in the first place, just kinda copy-pasted the old code.
You are not using the error, so, you can do
Good point, let me change that
Wait yeah, I was wrong before. It's versionchanged.
The usage of
Optional
is wrong.If a parameter has a default value different to
None
(and use it for anything), it is not an optional parameter.