This commit is contained in:
Ave Ozkal 2019-06-17 19:18:33 +03:00
parent 831e44d56b
commit a1991921a2
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -25,7 +25,7 @@ class Basic(Cog):
@commands.command(name="dec")
async def _dec(self, ctx, num):
"""Converts base 10 to 16"""
await ctx.send(f"{ctx.author.mention}: {int(num)}")
await ctx.send(f"{ctx.author.mention}: {int(num, 16)}")
@commands.guild_only()
@commands.command()