Cmdr error when trying to run a command

The error it gave

Error occurred while evaluating command string “announce wait”
ReplicatedStorage.CmdrClient.Types.ModuleScript:14: attempt to call a table value
ReplicatedStorage.CmdrClient.Shared.Dispatcher:81
ReplicatedStorage.CmdrClient.Types.ModuleScript:14
ReplicatedStorage.CmdrClient.Shared.Dispatcher:156 function RunHooks
ReplicatedStorage.CmdrClient.Shared.Command:122 function Run
ReplicatedStorage.CmdrClient.Shared.Dispatcher:79
ReplicatedStorage.CmdrClient.Shared.Dispatcher:72 function EvaluateAndRun
ReplicatedStorage.CmdrClient.CmdrInterface:24 function ProcessEntry
ReplicatedStorage.CmdrClient.CmdrInterface.Window:172 function LoseFocus
ReplicatedStorage.CmdrClient.CmdrInterface.Window:324

The line the error goes to

if not ok then
	warn(("Error occurred while evaluating command string %q\n%s"):format(text, tostring(out)))
end

The Hook im using

local ADMINS = {

[312150141] = true,
[180936205] = true,
[1051919117] = true,

}
return function(registry)
registry:RegisterHook("BeforeRun", function(context)
	if context.Group == "DefaultAdmin" and not ADMINS(context.Executor.UserId) then
		return "You don't have permission to run this command!"
	end
end)
end

The server script

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Cmdr = require(game.ServerScriptService.Cmdr)

Cmdr:RegisterDefaultCommands()

Cmdr:RegisterHooksIn(script.Hooks)

The client script

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Cmdr = require(ReplicatedStorage:WaitForChild("CmdrClient"))

-- Configurable, and you can choose multiple keys

Cmdr:SetActivationKeys({ Enum.KeyCode.F2 })

Please let me know why its erroring! As i do not know why this is the latest version!

I fixed it! I just put a () instead of a [] at