Make Lua CommandContext use a ChannelRef (#5184)

This commit is contained in:
Mm2PL
2024-02-18 20:55:00 +01:00
committed by GitHub
parent cd0387b064
commit 4a4f62dc4a
6 changed files with 27 additions and 25 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ c2.LogLevel = {}
c2.EventType = {}
---@class CommandContext
---@field words string[] The words typed when executing the command. For example `/foo bar baz` will result in `{"/foo", "bar", "baz"}`.
---@field channel_name string The name of the channel the command was executed in.
---@field channel Channel The channel the command was executed in.
---@class CompletionList
---@field values string[] The completions