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
329 stars 130 forks source link

Bug: Event #607

Closed GBlade0607 closed 1 month ago

GBlade0607 commented 2 months ago

Bug Type

Handler

Bugged Function

module.exports = {
name: "İsim Log",
type: "memberUpdate",
channel: "1242748212209647716",
code:
`
$title[Kullanıcı İsmi Değiştirildi]
$color[Orange]
$footer[$formatDate[$datestamp;DD/MM/YYYY - $hour:$minute]]
$timezone[Turkey]

$addField[Değiştirilme Zamanı;<t:$truncate[$divide[$datestamp;1000]]:R>]
$addField[Eski Nick;$oldMember[nick]]
$addField[Yeni Nick;$newMember[nick]]
$addField[Kullanıcı;$username[$get[id]] | <@$get[id]>]

$let[id;$newMember[id]]
`
}

Version of aoi.js

v6.8.0

Version of Node.js

v21.4.0 (Current)

Excepted Output

Old Name - New Name log

image

Relevant log output

No response

Code of Conduct

USERSATOSHI commented 2 months ago

i still don't know what the issue actually is @GBlade0607 can you elaborate ?

USERSATOSHI commented 2 months ago

also there is $onlyif to restrict the cmd trigger to only happen when there is a nickname change , also try adding that

Faf4a commented 1 month ago

stale, closing