Added functionality to disable bot responding in disable channels

This commit is contained in:
Priit Heinsaar 2015-02-27 15:08:05 +02:00
parent edd8a50629
commit 114c47382f

View File

@ -177,7 +177,8 @@ function create_config( )
"weather", "weather",
"xkcd", "xkcd",
"youtube" }, "youtube" },
sudo_users = {our_id} sudo_users = {our_id},
disabled_channels = {}
} }
serialize_to_file(config, './data/config.lua') serialize_to_file(config, './data/config.lua')
print ('saved config into ./data/config.lua') print ('saved config into ./data/config.lua')