src/cogs/fun.py
async def dice(self, ctx, number: float):
        """Random number between one and the specified number.

        number: int
        End number. Must be a whole number.
        """
        if (number).is_integer():
            return await ctx.reply(random.randint(1, number))
        await ctx.reply("Number must be whole number.")
Random number between one and the specified number.

        number: int
        End number. Must be a whole number.
        
Random number between one and the specified number.
number: int
End number. Must be a whole number.
Random number between one and the specified number . number : int End number . Must be a whole number .
async def dice(self, ctx, number: float):
        if (number).is_integer():
            return await ctx.reply(random.randint(1, number))
        await ctx.reply("Number must be whole number.")
async def dice ( self , ctx , number : float ) : if ( number ) . is_integer ( ) : return await ctx . reply ( random . randint ( 1 , number ) ) await ctx . reply ( "Number must be whole number." )
Random number between one and the specified number.
Random number between one and the specified number .
"""Random number between one and the specified number.

        number: int
        End number. Must be a whole number.
        """
self
ctx
number
float