Compare commits
	
		
			1 Commits
		
	
	
		
			1.1.3
			...
			f72ea68f66
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f72ea68f66 | 
| @@ -39,7 +39,10 @@ class UserJoinedVoiceChannel(TableABC): | |||||||
|     @property |     @property | ||||||
|     @ServiceProviderABC.inject |     @ServiceProviderABC.inject | ||||||
|     def channel_name(self, bot: DiscordBotServiceABC) -> str: |     def channel_name(self, bot: DiscordBotServiceABC) -> str: | ||||||
|         return bot.get_channel(self.channel_id).name |         channel = bot.get_channel(self.channel_id) | ||||||
|  |         if channel is None: | ||||||
|  |             return "" | ||||||
|  |         return channel.name | ||||||
|  |  | ||||||
|     @property |     @property | ||||||
|     def user(self) -> User: |     def user(self) -> User: | ||||||
|   | |||||||
| @@ -41,7 +41,10 @@ class UserJoinedVoiceChannelHistory(HistoryTableABC): | |||||||
|     @property |     @property | ||||||
|     @ServiceProviderABC.inject |     @ServiceProviderABC.inject | ||||||
|     def channel_name(self, bot: DiscordBotServiceABC) -> str: |     def channel_name(self, bot: DiscordBotServiceABC) -> str: | ||||||
|         return bot.get_channel(self.channel_id).name |         channel = bot.get_channel(self.channel_id) | ||||||
|  |         if channel is None: | ||||||
|  |             return "" | ||||||
|  |         return channel.name | ||||||
|  |  | ||||||
|     @property |     @property | ||||||
|     def user(self) -> int: |     def user(self) -> int: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user