group-butler / GroupButler

This bot can help you in managing your group with rules, anti-flood, description, custom triggers, and much more!
https://t.me/GroupButler_bot
GNU General Public License v2.0
443 stars 295 forks source link

The /import command does not function when replying to the backup file #453

Open mmmTelegram opened 4 years ago

mmmTelegram commented 4 years ago

./lua/groupbutler/utilities.lua:286: attempt to concatenate field 'filepath' (a nil value)

stack traceback: ./lua/groupbutler/utilities.lua:286: in function 'telegram_file_link' ./lua/groupbutler/plugins/backup.lua:136: in function <./lua/groupbutler/plugins/backup.lua:85> (tail call): ? C: in function 'xpcall' ./lua/groupbutler/main.lua:211: in function 'on_msg_receive' ./lua/groupbutler/main.lua:338: in function 'process' ./polling.lua:61: in function <./polling.lua:46> C: in function 'pcall' ./polling.lua:81: in main chunk

en_GB /import