Last edit: @jkrause in #[IM @jkrause] 2 years ago - Slack Archive

{alias}mdb %args%

History

Revision: 1596 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{alias}mdb %args%

Revision: 1595 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{alias} !mdb %args%

Revision: 1594 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{aliads} mdb %args%

Revision: 1593 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{cmd} mdb %args%

Revision: 1592 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{alias} !mdb %args%

Revision: 1591 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{alias} mdb %args%

Revision: 1590 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{cmd} !mdb %args%

Revision: 1589 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{cmd} mdb %args%

Revision: 1588 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{cmd} mdb %args%

Revision: 1572 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{alias}mdb %args%

Revision: 1571 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{alias}mdb &1

Revision: 1570 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

{alias}mdb

Revision: 1460 by @jkrause in #[IM @jkrause] 2 years agoSlack Archive

Use the new !mdb factoid.

Revision: 1398 by @crenfrow in #movies 2 years agoSlack Archive

Borked, will repair soon.

Revision: 846 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= "" then url = "http://www.omdbapi.com/?t=" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
j = resp:json()
if j.imdbID ~= nil then print("http://www.imdb.com/title/" .. j.imdbID)
else print("No results") end

Revision: 841 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?t=" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
j = resp:json()
if j.imdbID ~= nil then print("http://www.imdb.com/title/" .. j.imdbID)
else print("No results") end

Revision: 840 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?t=" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
j = resp:json()
print(j.imdbID)

Revision: 839 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?t=" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
print(resp:json())

Revision: 838 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?t=" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
print(resp:text())

Revision: 837 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?t=" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
print(resp)

Revision: 836 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?t=" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp
if j["imdbID"] ~= nil then print("http://www.imdb.com/title/" .. j["imdbID"])
else print("Nope") end

Revision: 835 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
print(url)

Revision: 834 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp
print(j["response"]:text())
if j["imdbID"] ~= nil then print("http://www.imdb.com/title/" .. j["imdbID"])
else print("Nope") end

Revision: 833 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp
print(j.response:text())
if j["imdbID"] ~= nil then print("http://www.imdb.com/title/" .. j["imdbID"])
else print("Nope") end

Revision: 832 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp
print(j:text())
if j["imdbID"] ~= nil then print("http://www.imdb.com/title/" .. j["imdbID"])
else print("Nope") end

Revision: 831 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp
print(j)
if j["imdbID"] ~= nil then print("http://www.imdb.com/title/" .. j["imdbID"])
else print("Nope") end

Revision: 830 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp
if j["imdbID"] ~= nil then print("http://www.imdb.com/title/" .. j["imdbID"])
else print("Nope") end

Revision: 829 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp
if j.imdbID ~= nil then print("http://www.imdb.com/title/" .. j.imdbID)
else print("Nope") end

Revision: 828 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp
if j.imdbID ~= nil then print("http://www.imdb.com/title/" .. j.imdbID)
else print(j.imdbID) end

Revision: 827 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp
if j.imdbID ~= nil then print("http://www.imdb.com/title/" .. j.imdbID)
else print("No results") end

Revision: 826 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp:json()
if j.imdbID ~= nil then print("http://www.imdb.com/title/" .. j.imdbID)
else print("No results") end

Revision: 825 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then url = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp:json()
if j.imdbID ~= nil then print("http://www.imdb.com/title/" .. j.imdbID)
else print("No results") 
end

Revision: 824 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then burl = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title") return end
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp:json()
if j.imdbID ~= nil then print("http://www.imdb.com/title/" .. j.imdbID)
else print("No results") 
end

Revision: 823 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then burl = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title")
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp:json()
if j.imdbID ~= nil then print("http://www.imdb.com/title/" .. j.imdbID)
else print("No results") 
end

Revision: 822 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then burl = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title")
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp:json()
if j.imdbID ~= nil then print("http://www.imdb.com/title/" .. j.imdbID)
else print("No results") end

Revision: 821 by @crenfrow in #[IM @crenfrow] 2 years agoSlack Archive

{lua} local query = args
if query ~= nil then burl = "http://www.omdbapi.com/?" .. bot.uriencode(query)
else print("Please provide a valid movie/show title")
local resp, err = requests.get(url)
if err ~= nil then print("Error: " .. err) return end
local j = resp:json()
if j.imdbID ~= nil then print("http://www.imdb.com/title/" .. j.imdbID)
else print("No results")