mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 03:00:18 +00:00
Update functions
This commit is contained in:
parent
892c5f9902
commit
b08de94c64
@ -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 {
|
||||
|
@ -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];
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user