ミラー元
https://github.com/Hilbis/Hilbish
前回の同期 2025-07-02 01:02:03 +00:00
docs: add todo to lua.go
このコミットが含まれているのは:
コミット
edcc1b39f0
1
lua.go
1
lua.go
@ -42,6 +42,7 @@ func LuaInit() {
|
||||
|
||||
cmds := commander.New()
|
||||
// When a command from Lua is added, register it for use
|
||||
// TODO: maybe dont add command code to a lua table? insstead use a map
|
||||
cmds.Events.On("commandRegister",
|
||||
func(cmdName string, cmd *lua.LFunction) {
|
||||
commands[cmdName] = true
|
||||
|
読み込み中…
x
新しいイシューから参照
ユーザーをブロックする