Add user-nickname option for channel suffixe

This commit is contained in:
Steven DUBOIS
2025-09-10 18:38:57 +02:00
committed by Steven Dubois
parent b07252151b
commit 21ce2921a1
5 changed files with 32 additions and 17 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ export const registerActions = async () => {
const channelCategory = option.get("opendiscord:channel-category").value
const channelBackupCategory = option.get("opendiscord:channel-category-backup").value
const channelTopic = option.get("opendiscord:channel-topic").value
const channelSuffix = await opendiscord.options.suffix.getSuffixFromOption(option,user)
const channelSuffix = await opendiscord.options.suffix.getSuffixFromOption(option,user,guild)
const channelName = channelPrefix+channelSuffix
//handle category
@@ -237,4 +237,4 @@ export const registerActions = async () => {
])
})
])
}
}