Remove incorrect bot permissions check from warn command
This commit is contained in:
		
					parent
					
						
							
								d4dceae76a
							
						
					
				
			
			
				commit
				
					
						866dd32e30
					
				
			
		
					 2 changed files with 1 additions and 2 deletions
				
			
		
							
								
								
									
										2
									
								
								pom.xml
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
										
									
									
									
								
							|  | @ -6,7 +6,7 @@ | ||||||
| 
 | 
 | ||||||
|     <groupId>net.hypr</groupId> |     <groupId>net.hypr</groupId> | ||||||
|     <artifactId>doki</artifactId> |     <artifactId>doki</artifactId> | ||||||
|     <version>1.0.8</version> |     <version>1.0.9</version> | ||||||
| 
 | 
 | ||||||
|     <properties> |     <properties> | ||||||
|         <maven.compiler.source>17</maven.compiler.source> |         <maven.compiler.source>17</maven.compiler.source> | ||||||
|  |  | ||||||
|  | @ -17,7 +17,6 @@ import org.slf4j.Logger; | ||||||
| import java.awt.*; | import java.awt.*; | ||||||
| 
 | 
 | ||||||
| @CommandMarker | @CommandMarker | ||||||
| @BotPermissions(Permission.MODERATE_MEMBERS) |  | ||||||
| @UserPermissions(Permission.MODERATE_MEMBERS) | @UserPermissions(Permission.MODERATE_MEMBERS) | ||||||
| public class Warn extends ApplicationCommand { | public class Warn extends ApplicationCommand { | ||||||
|     @JDASlashCommand( |     @JDASlashCommand( | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue