async def get_bye_shout(self) -> str: _ = await self.get_translate_function() shouts = self.get_cosmetics()['bye_shouts'] shout = _(random.choice(shouts)) return anti_bot_zero_width(shout)
async def get_bye_trace(self) -> str: _ = await self.get_translate_function() traces = self.get_cosmetics()['bye_traces'] trace = _(random.choice(traces)) return anti_bot_zero_width(discord.utils.escape_markdown(trace))
async def get_shout(self) -> str: _ = await self.get_translate_function() shouts = self.get_cosmetics()['shouts'] shout = _(random.choice(shouts)) if "http" in shout: return shout else: return anti_bot_zero_width(shout)
async def get_trace(self) -> str: traces = self.get_cosmetics()['traces'] trace = escape_markdown(random.choice(traces)) return anti_bot_zero_width(trace)