Trimmed plugins which require API keys from the default config.
This commit is contained in:
		| @@ -23,6 +23,9 @@ Clone the repository and set the following values in `config.lua`: | ||||
|  | ||||
|  - `bot_api_key` as your bot authorization token from the BotFather. | ||||
|  - `admin` as your Telegram ID. | ||||
|  | ||||
| Optionally: | ||||
|  | ||||
|  - `time_offset` as the difference, in seconds, of your system clock to UTC. | ||||
|  - `lang` as the two-letter code representing your language. | ||||
|  | ||||
| @@ -38,7 +41,7 @@ Note that certain plugins, such as translate.lua and greetings.lua, will require | ||||
|  - bible.lua: [Biblia](http://api.biblia.com) API key (`biblia_api_key`) | ||||
|  - cats.lua: [The Cat API](http://thecatapi.com) API key (optional) (`thecatapi_key`) | ||||
|  - apod.lua: [NASA](http://api.nasa.gov) API key (`nasa_api_key`) | ||||
|  - translate.lua: [Yandex](http://tech.yandex.com/keys/get/?service=trnsl) API key (`yandex_key`) | ||||
|  - translate.lua: [Yandex](http://tech.yandex.com/keys/get) API key (`yandex_key`) | ||||
|  - chatter.lua: [SimSimi](http://developer.simsimi.com/signUp) API key (`simsimi_key`) | ||||
|  | ||||
| * * * | ||||
|   | ||||
							
								
								
									
										13
									
								
								config.lua
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								config.lua
									
									
									
									
									
								
							| @@ -35,13 +35,13 @@ Send /help to get started. | ||||
| 	thecatapi_key = '', | ||||
| 	-- http://api.nasa.gov | ||||
| 	nasa_api_key = '', | ||||
| 	-- http://tech.yandex.com/keys/get/?service=trnsl | ||||
| 	-- http://tech.yandex.com/keys/get | ||||
| 	yandex_key = '', | ||||
| 	-- http://developer.simsimi.com/signUp | ||||
| 	simsimi_key = '', | ||||
| 	simsimi_trial = true, | ||||
|  | ||||
| 	errors = { | ||||
| 	errors = { -- Generic error messages used in various plugins. | ||||
| 		connection = 'Connection error.', | ||||
| 		results = 'No results found.', | ||||
| 		argument = 'Invalid argument.', | ||||
| @@ -50,7 +50,7 @@ Send /help to get started. | ||||
| 		chatter_response = 'I don\'t know what to say to that.' | ||||
| 	}, | ||||
|  | ||||
| 	plugins = { | ||||
| 	plugins = { -- To enable a plugin, add its name to the list. | ||||
| 		'control.lua', | ||||
| 		'blacklist.lua', | ||||
| 		'about.lua', | ||||
| @@ -59,9 +59,7 @@ Send /help to get started. | ||||
| 		'nick.lua', | ||||
| 		'echo.lua', | ||||
| 		'gSearch.lua', | ||||
| 		'gImages.lua', | ||||
| 		'gMaps.lua', | ||||
| 		'youtube.lua', | ||||
| 		'wikipedia.lua', | ||||
| 		'hackernews.lua', | ||||
| 		'imdb.lua', | ||||
| @@ -69,20 +67,15 @@ Send /help to get started. | ||||
| 		'urbandictionary.lua', | ||||
| 		'time.lua', | ||||
| 		'eightball.lua', | ||||
| 		'reactions.lua', | ||||
| 		'dice.lua', | ||||
| 		'reddit.lua', | ||||
| 		'xkcd.lua', | ||||
| 		'slap.lua', | ||||
| 		'commit.lua', | ||||
| 		'pun.lua', | ||||
| 		'pokedex.lua', | ||||
| 		'bandersnatch.lua', | ||||
| 		'currency.lua', | ||||
| 		'cats.lua', | ||||
| 		'hearthstone.lua', | ||||
| 		'shout.lua', | ||||
| 		'apod.lua', | ||||
| 		'patterns.lua', | ||||
| 		-- Put new plugins above this line. | ||||
| 		'help.lua', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 topkecleon
					topkecleon