Added functionality to disable bot responding in disable channels
This commit is contained in:
parent
edd8a50629
commit
114c47382f
@ -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')
|
||||||
|
Reference in New Issue
Block a user