diff --git a/src/modules_core/abc/events/on_group_join_abc.py b/src/modules_core/abc/events/on_group_join_abc.py index 0ab53db..e0b3aaa 100644 --- a/src/modules_core/abc/events/on_group_join_abc.py +++ b/src/modules_core/abc/events/on_group_join_abc.py @@ -1,7 +1,12 @@ from abc import ABC, abstractmethod +import discord class OnGroupJoinABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_group_join( + self, chhanel: discord.GroupChannel, user: discord.User): pass diff --git a/src/modules_core/abc/events/on_group_remove_abc.py b/src/modules_core/abc/events/on_group_remove_abc.py index b4dd22b..dc6fda8 100644 --- a/src/modules_core/abc/events/on_group_remove_abc.py +++ b/src/modules_core/abc/events/on_group_remove_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod - +import discord class OnGroupRemoveABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_group_remove( + self, chhanel: discord.GroupChannel, user: discord.User): pass diff --git a/src/modules_core/abc/events/on_invite_create_abc.py b/src/modules_core/abc/events/on_invite_create_abc.py index ba227a6..ce4e2e0 100644 --- a/src/modules_core/abc/events/on_invite_create_abc.py +++ b/src/modules_core/abc/events/on_invite_create_abc.py @@ -1,7 +1,12 @@ from abc import ABC, abstractmethod +import discord class OnInviteCreateABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_invite_create(self, invite: discord.Invite): pass + \ No newline at end of file diff --git a/src/modules_core/abc/events/on_invite_delete_abc.py b/src/modules_core/abc/events/on_invite_delete_abc.py index b72455b..bbd848c 100644 --- a/src/modules_core/abc/events/on_invite_delete_abc.py +++ b/src/modules_core/abc/events/on_invite_delete_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod +import discord class OnInviteDeleteABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_invite_delete(self, invite: discord.Invite): pass diff --git a/src/modules_core/abc/events/on_member_unban_abc.py b/src/modules_core/abc/events/on_member_unban_abc.py index f81359c..c5bbb8c 100644 --- a/src/modules_core/abc/events/on_member_unban_abc.py +++ b/src/modules_core/abc/events/on_member_unban_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod +import discord class OnMemberUnbanABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_member_unban(self, guild: discord.Guild, user: discord.User): pass diff --git a/src/modules_core/abc/events/on_relationship_add_abc.py b/src/modules_core/abc/events/on_relationship_add_abc.py index cfaa454..5cba49a 100644 --- a/src/modules_core/abc/events/on_relationship_add_abc.py +++ b/src/modules_core/abc/events/on_relationship_add_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod - +import discord class OnRelationshipAddABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_relationship_add(self, relationship: discord.Relationship): pass + \ No newline at end of file diff --git a/src/modules_core/abc/events/on_relationship_remove_abc.py b/src/modules_core/abc/events/on_relationship_remove_abc.py index d77db3c..c842a4a 100644 --- a/src/modules_core/abc/events/on_relationship_remove_abc.py +++ b/src/modules_core/abc/events/on_relationship_remove_abc.py @@ -1,7 +1,11 @@ from abc import ABC, abstractmethod - +import discord class OnRelationshipRemoveABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_relationship_remove(self, relationship: discord.Relationship): pass + \ No newline at end of file diff --git a/src/modules_core/abc/events/on_relationship_update_abc.py b/src/modules_core/abc/events/on_relationship_update_abc.py index b631d7d..4d97091 100644 --- a/src/modules_core/abc/events/on_relationship_update_abc.py +++ b/src/modules_core/abc/events/on_relationship_update_abc.py @@ -1,7 +1,12 @@ from abc import ABC, abstractmethod +import discord class OnRelationshipUpdateABC(ABC): @abstractmethod def __init__(self): pass + + @abstractmethod + async def on_relationship_update( + self, before: discord.Relationship, after: discord.Relationship): pass