forked from Alanaktion/chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-sample.php
101 lines (81 loc) · 1.72 KB
/
config-sample.php
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?php
// Bot Configuration
$old_auth = true;
// Connection
$server = 'chat.example.com';
$port = 5222;
$user = 'hashbot';
$domain = $server;
$pass = 'letmein';
$clientid = 'hashbot';
// Chat room (optional)
$room = 'roomname';
$room_password = '';
$room_server = 'conference.chat.example.com';
$nick = 'Hashbot';
// Error reporting
$errors = E_ALL & ~E_DEPRECATED & ~E_NOTICE;
// Log level
const LEVEL_ERROR = 0;
const LEVEL_WARNING = 1;
const LEVEL_INFO = 2;
const LEVEL_DEBUG = 3;
const LEVEL_VERBOSE = 4;
$logging = LEVEL_INFO;
// Command Aliases
$aliases = array(
"commands" => "help",
"yt" => "youtube",
"=" => "math",
"leet" => "1337",
"facepalm" => "fp",
"lorem" => "ipsum",
"movies" => "movie",
"arand" => "array-rand",
);
// Disabled Commands
$disabled = array(
"scream",
"recursion",
"math_b",
);
// Status message
$status_message = "I'm alive!";
// Greetings
$greetings = array(
"hi " . strtolower($nick),
"hey " . strtolower($nick),
"hello " . strtolower($nick),
"hi hash",
"hey hash",
);
// Bad Word Filter
$filter_badwords = false;
// Time Zone
$timezone = 'America/Denver';
// Mashape API key
$mash_key = "";
// Wolfram|Alpha App ID
$wa_app = "";
// Windows Azure Account Key (used for #translate)
$azure_key = "";
$azure_clientid = "";
$azure_secret = "";
// Amazon Product Advertising API Access Key
$amazon_associate_tag = "";
$amazon_key = "";
$amazon_secret = "";
// Twitter OAuth
$twitterConsumerKey = "";
$twitterConsumerSecret = "";
$twitterOAuthToken = "";
$twitterOAuthSecret = "";
// Show incoming @mentions in the configured chatroom
$enable_mentions = false;
// The Movie Database
$tmdb_key = "";
// MX Toolbox API
$mxtoolbox_key = "";
$mxtoolbox_enable_pro = false;
// YouTube API
$youtube_key = "";