Fix sendchatmessage

This commit is contained in:
2024-12-21 10:36:48 +01:00
parent 1536a636bd
commit 3ea5acdf5c

View File

@@ -1,20 +1,22 @@
---@diagnostic disable: missing-return, lowercase-global
---@alias channel
---| 'CHANNEL' channel
---| 'DND' text
---| 'EMOTE' /e
---| 'GUILD' /g
---| 'INSTANCE_CHAT' /i
---| 'OFFICER' /o
---| 'PARTY' /p
---| 'RAID' /ra
---| 'RAID_WARNING' /rw
---| 'SAY' /s
---| 'WHISPER' channel
---| 'YELL' /y
---@param text string
---@param chatType /y
---@param CHANNEL channel
---@param DND text
---@param EMOTE /e
---@param GUILD /g
---@param INSTANCE_CHAT /i
---@param OFFICER /o
---@param PARTY /p
---@param RAID /ra
---@param RAID_WARNING /rw
---@param SAY /s
---@param WHISPER channel
---@param YELL /y
---@param languageIndex number
---@param channel string
---@param chatType channel
---Sends a chat message
function SendChatMessage(text, chatType, CHANNEL, DND, EMOTE, GUILD, INSTANCE_CHAT, OFFICER, PARTY, RAID, RAID_WARNING, SAY, WHISPER, YELL, languageIndex, channel) end
---@overload fun(text: string, chatType: channel, languageIndex: number)
---@overload fun(text: string, chatType: channel, languageIndex: number, channel: string)
function SendChatMessage(text, chatType, languageIndex, channel) end