mirror of
				https://github.com/warengroup/eximiabots-radiox.git
				synced 2025-11-04 01:49:37 +00:00 
			
		
		
		
	Changed function isAuthorDev to isDev
This commit is contained in:
		@@ -19,7 +19,7 @@ module.exports = class extends Client {
 | 
			
		||||
        this.funcs.check = require('./funcs/check.js');
 | 
			
		||||
        this.funcs.msToTime = require('./funcs/msToTime.js');
 | 
			
		||||
        this.funcs.statisticsUpdate = require('./funcs/statisticsUpdate.js');
 | 
			
		||||
        this.funcs.isAuthorDev = require('./funcs/isAuthorDev.js');
 | 
			
		||||
        this.funcs.isDev = require('./funcs/isDev.js');
 | 
			
		||||
 | 
			
		||||
        this.config = require('../config.js');
 | 
			
		||||
        this.messages = require('./messages.js');
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@ module.exports = {
 | 
			
		||||
        return msg.channel.send(embed);
 | 
			
		||||
        */
 | 
			
		||||
 | 
			
		||||
        if(!client.funcs.isAuthorDev(client.config.devId, msg.author.id)) return msg.channel.send(client.messageEmojis["error"] + "You are not allowed to do that!");
 | 
			
		||||
        if(!client.funcs.isDev(client.config.devId, msg.author.id)) return msg.channel.send(client.messageEmojis["error"] + "You are not allowed to do that!");
 | 
			
		||||
 | 
			
		||||
        if(!client.stations) {
 | 
			
		||||
            message.errorToGetPlaylist = client.messages.errorToGetPlaylist.replace("%client.config.supportGuild%", client.config.supportGuild);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user