mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-27 01:25:33 -05:00
fix the prefix ploblem!1!1
This commit is contained in:
parent
46e0184e7f
commit
952335fdb4
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ function inject (bot, _dcclient, config, rl) {
|
|||
if (line.startsWith('.')) {
|
||||
return bot.command_handler.run(
|
||||
bot.username,
|
||||
'*' + line.substring(1),
|
||||
config.prefixes[0] + line.substring(1),
|
||||
bot.uuid,
|
||||
null,
|
||||
'h',
|
||||
|
|
|
@ -9,7 +9,7 @@ function inject (bot, client, target, config, clientPacketBlacklist) {
|
|||
if (data.message?.startsWith('.')) {
|
||||
return bot.command_handler.run(
|
||||
client.username,
|
||||
'*' + data.message.substring(1),
|
||||
config.prefixes[0] + data.message.substring(1),
|
||||
client.uuid,
|
||||
null,
|
||||
'h', // real hash hardcode
|
||||
|
|
Loading…
Reference in a new issue