Merge pull request #87 from tastymeatball/patch-1

Update basic.py
This commit is contained in:
ave 2021-12-08 20:50:28 +03:00 committed by GitHub
commit b02b3fdbd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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