aoijs / aoi.js

aoi.js - The most advanced string-based package to create a Discord Bot fast and powerful.
https://aoi.js.org
Apache License 2.0
332 stars 132 forks source link

Bug: guildLeaderboard #565

Closed hallween1243 closed 5 months ago

hallween1243 commented 5 months ago

Bug Type

Function

Bugged Function

# Code 

module.exports = [
  {
  name: "top-10",
  code: `
  $interactionReply[Başarıyla Yorumunuz Gönderildi;everyone;true]
$title[Oy Sıralaması]
$description[1;
\`\`\`js
Sıra | Sunucu | Oy Sayısı
$guildLeaderboard[teeest;asc;{top} - {name} - {value};10;1]
\`\`\`
]
$footer[$username Tarafınfan $addTimesTamp;$authorAvatar]
`,
},

]

# Error
```js
AoiError: guild: 1218514026657746984 

{
  Function: "$guildLeaderBoard",
  Command: "top-10",
  Version: 6.8.0
}```

Version of aoi.js

v6.6.1

Version of Node.js

v16.11.0 (Lowest)

Excepted Output

No response

Relevant log output

No response

Code of Conduct

Faf4a commented 5 months ago

Thanks for reporting this, the function will receive a rewrite.