aboutsummaryrefslogtreecommitdiffstats
path: root/bot/cogs/alias.py
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2020-01-11 17:38:46 -0500
committerGravatar S. Co1 <[email protected]>2020-01-11 17:38:46 -0500
commiteaaebe963c0b9f79ce18142e343f57ef85fdd88c (patch)
treedf751cafae80768dc7afa6c1a7fdc92f50d72bb2 /bot/cogs/alias.py
parentUpdate Code Jam Participant ID (diff)
Add handling for empty PEP metadata values
Some PEPs have a metadata field that is present but has an empty value (e.g. PEP 249), causing an exception to be raised when attempting to add it as an embed field value, which cannot be empty. This refactors the information parsing to prevent the field from being added if there is no value to provide, as well as cut down on copy+paste when populating fields in the embed.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions