# HG changeset patch # User Seve Ferrer # Date 1600779565 -7200 # Node ID 7ca948b157df69f95f06a22134840a530d45db6f # Parent 57ee70718eccc4765cf13aa6148bec3e35b4e087 plugins/commands.lua: The default command_prefix value is set on config.docker.lua. diff -r 57ee70718ecc -r 7ca948b157df plugins/commands.lua --- a/plugins/commands.lua Tue Sep 22 14:51:42 2020 +0200 +++ b/plugins/commands.lua Tue Sep 22 14:59:25 2020 +0200 @@ -1,5 +1,5 @@ function riddim.plugins.commands(bot) - local command_pattern = "^%"..(bot.config.command_prefix or "@").."([%a%-%_%d]+)(%s?)(.*)$"; + local command_pattern = "^%"..bot.config.command_prefix.."([%a%-%_%d]+)(%s?)(.*)$"; local direct_address_pattern = false; if bot.config.nick then