rp-native
This commit is contained in:
parent
d76a59540a
commit
c870354c0c
@ -15,7 +15,7 @@
|
||||
"long-timeout": "^0.1.1",
|
||||
"pg-promise": "^7.3.2",
|
||||
"request": "^2.87.0",
|
||||
"request-promise": "^4.2.2",
|
||||
"request-promise-native": "^1.0.5",
|
||||
"stringify-object": "^3.2.1",
|
||||
"winston": "^2.4.0",
|
||||
"ytdl-core": "^0.18.2"
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
|
||||
const api_url = ({ market, crypto, currency }) => `https://api.cryptowat.ch/markets/${market}/${crypto}${currency}/summary`;
|
||||
const currencies = {
|
||||
|
@ -1,5 +1,5 @@
|
||||
import jsdom from "jsdom";
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
|
||||
export default bot => {
|
||||
bot._trigger.set("irpg", new bot.trigger({
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
|
||||
const feed = "https://www.kernel.org/releases.json";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
import { cfg } from "../../inc/cfg";
|
||||
|
||||
export default bot => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
import { cfg } from "../../../inc/cfg";
|
||||
|
||||
class cleverbot {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
|
||||
const maxoutput = 500;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
import url from "url";
|
||||
|
||||
const apis = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
import { cfg } from "../../inc/cfg";
|
||||
|
||||
export default bot => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
|
||||
const url = "https://api.urbandictionary.com/v0/define"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import sql from "../sql";
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
|
||||
const data = {
|
||||
yiff: [],
|
||||
|
@ -1,6 +1,5 @@
|
||||
import sql from "../sql";
|
||||
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
|
||||
const data = {
|
||||
abschieben: [],
|
||||
|
@ -1,4 +1,4 @@
|
||||
import rp from "request-promise";
|
||||
import rp from "request-promise-native";
|
||||
|
||||
export default bot => {
|
||||
bot._trigger.set("wttr", new bot.trigger({
|
||||
|
Loading…
Reference in New Issue
Block a user