-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconf.lua
73 lines (56 loc) · 1.89 KB
/
conf.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
--[[
Profile configuration file. All variables put in here will be processed once
during the jester bootstrap.
If you have a variable foo that you want to have a value of "bar", do:
foo = "bar"
Array/record syntax is like this:
foo = { bar = "baz", bing = "bong" }
Variables from the main configuration may be used in values, by accessing
them through the global.<varname> namespace.
Channel variables may be used in values, by accessing them through the
variable("<varname>") function.
Storage variables may be used in values, by accessing them through the
storage("<varname>") function.
Initial arguments may be used in values, by accessing them through the
args(<argnum>) function.
]]
--[[
Everything in this section should not be edited unless you know what you are
doing!
]]
-- Overrides the global debug configuration for this profile only.
debug = true
-- Overrides the global sequence path for this profile only.
sequence_path = global.profile_path .. "/cowphone/sequences"
--[[
The sections below can be customized safely.
]]
-- Where to send the cowphone, this gets the address from the argument passed
-- when invoking Jester. You can also set the email address here directly:
-- cowphone_destination_email = "[email protected]"
cowphone_destination_email = args(1)
-- The cowfile file to use for the cowsay, on RHEL, these are located in
-- /usr/share/cowsay.
--cowfile = "default.cow"
cowfile = "dragon-and-cow.cow"
--[[
Directory paths.
]]
-- The directory where recordings are stored temporarily while recording.
temp_recording_dir = "/tmp"
-- Templates.
email_templates = {}
-- Default template, for message delivery.
email_templates.cowphone = {}
email_templates.cowphone.subject = "Mooo, you have a new message"
email_templates.cowphone.message = [[
<html>
<body>
<pre>
:cowsay
</pre>
</body>
</html>
]]
-- Watson API app credentials.
watson_api_key = ""