Skip to content

Commit

Permalink
Removes debug code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwils committed Apr 29, 2024
1 parent aa81b3d commit 9cba832
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 16 deletions.
6 changes: 3 additions & 3 deletions generated/messages/effects_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions generated/messages/effects_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ class EffectType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
LOG: _ClassVar[EffectType]
ADD_PLAN_COMMAND: _ClassVar[EffectType]
AUTOCOMPLETE_SEARCH_RESULTS: _ClassVar[EffectType]
NEW_EFFECT: _ClassVar[EffectType]
ANOTHER_EFFECT: _ClassVar[EffectType]
UNKNOWN_EFFECT: EffectType
LOG: EffectType
ADD_PLAN_COMMAND: EffectType
AUTOCOMPLETE_SEARCH_RESULTS: EffectType
NEW_EFFECT: EffectType
ANOTHER_EFFECT: EffectType

class Effect(_message.Message):
__slots__ = ("type", "payload")
Expand Down
5 changes: 0 additions & 5 deletions plugin_runner/plugin_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ def __init__(self) -> None:

async def HandleEvent(self, request: Event, context):
event_name = EventType.Name(request.type)
print("!!!")
print(event_name)
print("!!!")
print("")
breakpoint()
relevant_plugins = EVENT_PROTOCOL_MAP.get(event_name, [])

effect_list = []
Expand Down
4 changes: 0 additions & 4 deletions protobufs/generated/messages/effects.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ enum EffectType {
ADD_PLAN_COMMAND = 2;

AUTOCOMPLETE_SEARCH_RESULTS = 3;

NEW_EFFECT = 4;

ANOTHER_EFFECT = 5;
}

message Effect {
Expand Down

0 comments on commit 9cba832

Please sign in to comment.