Added i18n to the jailing mechanism
This commit is contained in:
@@ -46,7 +46,7 @@ class CogRegister(Cog):
|
||||
try:
|
||||
pycord_event: PycordEvent = await self.bot.find_event(event_id=event)
|
||||
except (InvalidId, EventNotFoundError):
|
||||
await ctx.respond(self.bot._("event_not_found", "messages", locale=ctx.locale))
|
||||
await ctx.respond(self.bot._("event_not_found", "messages", locale=ctx.locale), ephemeral=True)
|
||||
return
|
||||
|
||||
if not guild.is_configured():
|
||||
|
Reference in New Issue
Block a user