mirror of
				https://github.com/keanuplayz/TravBot-v3.git
				synced 2024-08-15 02:33:12 +00:00 
			
		
		
		
	Added channel lock for eco.
This commit is contained in:
		
							parent
							
								
									a21ed7a97f
								
							
						
					
					
						commit
						3f4ee9315f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -62,9 +62,9 @@ export function getSendEmbed(sender: User, receiver: User, amount: number): obje | |||
| } | ||||
| 
 | ||||
| export function isAuthorized(guild: Guild | null, channel: TextChannel | DMChannel | NewsChannel): boolean { | ||||
|     if (guild?.id === "637512823676600330" || process.argv[2] === "dev") return true; | ||||
|     if (guild?.id === "637512823676600330" && channel?.id === "669464416420364288" || process.argv[2] === "dev") return true; | ||||
|     else { | ||||
|         channel.send("Sorry, this command can only be used in Monika's emote server."); | ||||
|         channel.send("Sorry, this command can only be used in Monika's emote server. (#mon-stocks)"); | ||||
|         return false; | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue