1.0.0 #253

Merged
edraft merged 262 commits from 1.0.0 into master 2023-03-27 09:30:50 +02:00
2 changed files with 0 additions and 10 deletions
Showing only changes of commit 23e238b7d5 - Show all commits

View File

@ -8,7 +8,6 @@ class UserJoinedServerQuery(DataQueryABC):
self.set_field("id", self.resolve_id)
self.set_field("user", self.resolve_user)
self.set_field("server", self.resolve_server)
self.set_field("joined_on", self.resolve_joined_on)
self.set_field("leaved_on", self.resolve_leaved_on)
@ -20,10 +19,6 @@ class UserJoinedServerQuery(DataQueryABC):
def resolve_user(x: UserJoinedServer, *_):
return x.user
@staticmethod
def resolve_server(x: UserJoinedServer, *_):
return x.user.server
@staticmethod
def resolve_joined_on(x: UserJoinedServer, *_):
return x.joined_on

View File

@ -14,7 +14,6 @@ class UserJoinedVoiceChannelQuery(DataQueryABC):
self.set_field("channel_id", self.resolve_channel_id)
self.set_field("channel_name", self.resolve_channel_name)
self.set_field("user", self.resolve_user)
self.set_field("server", self.resolve_server)
self.set_field("joined_on", self.resolve_joined_on)
self.set_field("leaved_on", self.resolve_leaved_on)
@ -33,10 +32,6 @@ class UserJoinedVoiceChannelQuery(DataQueryABC):
def resolve_user(x: UserJoinedVoiceChannel, *_):
return x.user
@staticmethod
def resolve_server(x: UserJoinedVoiceChannel, *_):
return x.user.server
@staticmethod
def resolve_joined_on(x: UserJoinedVoiceChannel, *_):
return x.joined_on