This Colab notebook was not created or maintained by me; however, it appears to function effectively. The source can be found at: https://github.com/camenduru/kohya ...
local lowerMessage = message:lower() -- Check if the message starts with the prefix if lowerMessage:sub(1, #prefix) == prefix then -- Remove the prefix from the message local command = ...