use arrow().utcnow().datetime
@@ -849,7 +849,7 @@ class Econ(commands.Cog):
await self.db.balance_sub(ctx.author.id, amount)
await self.db.balance_add(user.id, amount)
- await self.db.log_transaction("emerald", amount, arrow.utcnow().timestamp(), ctx.author.id, user.id)
+ await self.db.log_transaction("emerald", amount, arrow.utcnow().datetime, ctx.author.id, user.id)
await self.bot.send(
ctx, ctx.l.econ.give.gaveems.format(ctx.author.mention, amount, self.d.emojis.emerald, user.mention)
@@ -877,7 +877,7 @@ class Econ(commands.Cog):
await self.db.remove_item(ctx.author.id, item, amount)
await self.db.add_item(user.id, db_item["name"], db_item["sell_price"], amount)
self.bot.loop.create_task(
- self.db.log_transaction(db_item["name"], amount, arrow.utcnow().timestamp(), ctx.author.id, user.id)
+ self.db.log_transaction(db_item["name"], amount, arrow.utcnow().datetime, ctx.author.id, user.id)
)
await self.bot.send(
