Skip to content

Commit

Permalink
try sort
Browse files Browse the repository at this point in the history
  • Loading branch information
LarmuseauNiels committed Apr 19, 2023
1 parent 3dab32e commit b684dd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions interactions/contextmenus/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ module.exports = {
});
let lastOnline = new Array();
lastOnline = await global.client.prisma
.$queryRaw`select DATE_FORMAT(date(TimeStamp), '%Y-%m-%d' ) as date, count(*)/4 as hours
from VoiceConnected
where ID = '${interaction.targetId}'
.$queryRaw`select DATE_FORMAT(date(TimeStamp), '%Y-%m-%d' ) as date, count(*)/4 as hours from VoiceConnected
where ID = ${interaction.targetId}
group by DATE_FORMAT(date(TimeStamp), '%Y-%m-%d' )
order by date desc
limit 10`;
Expand Down

0 comments on commit b684dd9

Please sign in to comment.