Fixed ctx message guild error
This commit is contained in:
		| @@ -107,7 +107,5 @@ class MessageService(MessageServiceABC): | |||||||
|                 await self.delete_message(ctx.message, without_tracking) |                 await self.delete_message(ctx.message, without_tracking) | ||||||
|                 return |                 return | ||||||
|  |  | ||||||
|             if ctx.guild is None: |             if ctx.guild is not None: | ||||||
|                 self._logger.error(__name__, f'Error in {__name__}.send_ctx_msg: Guild is None') |  | ||||||
|                 return |  | ||||||
|                 await self.delete_messages(List(discord.Message, [msg, ctx.message]), ctx.guild.id) |                 await self.delete_messages(List(discord.Message, [msg, ctx.message]), ctx.guild.id) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user