made timestamp an int

This commit is contained in:
Seaswimmer 2023-02-28 03:42:10 -05:00
parent 5e1aa035da
commit a7c8da9740

View file

@ -11,7 +11,7 @@ class Galaxy(commands.Cog):
@commands.command()
async def unix(self, ctx):
"""Posts the current Unix timestamp."""
timestamp = datetime.timestamp(datetime.now())
timestamp = int(datetime.timestamp(datetime.now()))
await ctx.send(timestamp)