Update functions

This commit is contained in:
Christer Warén 2021-09-12 17:37:43 +03:00
parent 892c5f9902
commit b08de94c64
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
module.exports = function (response) {
module.exports = function checkFetchStatus(response) {
if (response.ok) { // res.status >= 200 && res.status < 300
return response;
} else {

View File

@ -1,4 +1,4 @@
module.exports = function (devList, authorID){
module.exports = function isDev(devList, authorID){
let response = false;
Object.keys(devList).forEach(function(oneDev) {
let devID = devList[oneDev];

View File

@ -1,6 +1,6 @@
import Discord from "discord.js";
module.exports = function (client, interaction){
module.exports = function listStations(client, interaction){
let stations = new Array();
let options = new Array();