Skip to content

Commit

Permalink
manually add type to custom block
Browse files Browse the repository at this point in the history
  • Loading branch information
itsthejoker committed Aug 14, 2022
1 parent 3a3c4fb commit f8339f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bubbles/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ class StatusContextBlock(blocks.ContextBlock):
>>> my_step.failure()
...{'elements': [{'emoji': True, 'text': ':x: Feeding penguins...'}]
"""
# this should be inherited but the API is throwing errors saying it's missing.
type = "context"

def __init__(
self,
Expand Down

0 comments on commit f8339f4

Please sign in to comment.