mirror of
https://github.com/cassoule/flopobot_v2.git
synced 2026-01-18 16:37:40 +01:00
fixed : remove debug
This commit is contained in:
2
index.js
2
index.js
@@ -1253,8 +1253,6 @@ app.post('/interactions', verifyKeyMiddleware(process.env.PUBLIC_KEY), async fun
|
||||
for (const skin of topSkins) {
|
||||
const index = topSkins.indexOf(skin);
|
||||
const owner = skin.user_id ? await guild.members.fetch(skin.user_id) : null;
|
||||
console.log('owner:')
|
||||
console.log(owner)
|
||||
fields.push({
|
||||
name: `#${index+1} - **${skin.displayName}**`,
|
||||
value: `${skin.maxPrice}€ ${skin.user_id ? '| **@'+ owner.user.username+'** ✅' : ''}\n`,
|
||||
|
||||
Reference in New Issue
Block a user