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