Remove is_on_mobile check

This commit is contained in:
Zeva Rose 2022-02-04 09:57:41 -07:00
parent 5629dd534f
commit d296d0496a

View file

@ -92,10 +92,7 @@ class UtilCog(Scale):
to_send += " " to_send += " "
elif re.match(r"^[A-Z0-9-()$@!?^'#.]$", letter): elif re.match(r"^[A-Z0-9-()$@!?^'#.]$", letter):
id = emotes[letter] id = emotes[letter]
if ctx.author.is_on_mobile(): to_send += f":{names[id]}:"
to_send += f":{names[id]}:"
else:
to_send += f"<:{names[id]}:{id}>"
if len(to_send) > 2000: if len(to_send) > 2000:
await ctx.send("Too long.", ephemeral=True) await ctx.send("Too long.", ephemeral=True)
else: else: