Fixed .d, added command_errors to gitignore
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,7 @@
 | 
			
		||||
#Manually added files
 | 
			
		||||
 | 
			
		||||
src/NadekoBot/Command Errors*.txt
 | 
			
		||||
 | 
			
		||||
src/NadekoBot/credentials.json
 | 
			
		||||
src/NadekoBot/data/NadekoBot.db
 | 
			
		||||
src/NadekoBot/data/musicdata
 | 
			
		||||
 
 | 
			
		||||
@@ -362,7 +362,7 @@ namespace NadekoBot.Services
 | 
			
		||||
                    lock (errorLogLock)
 | 
			
		||||
                    {
 | 
			
		||||
                        var now = DateTime.Now;
 | 
			
		||||
                        File.AppendAllText($"./Command Errors {now:yyyy-MM-dd}.txt",
 | 
			
		||||
                        File.AppendAllText($"./command_errors_{now:yyyy-MM-dd}.txt",
 | 
			
		||||
                            $"[{now:HH:mm-yyyy-MM-dd}]" + Environment.NewLine
 | 
			
		||||
                            + execResult.Exception.ToString() + Environment.NewLine
 | 
			
		||||
                            + "------" + Environment.NewLine);
 | 
			
		||||
 
 | 
			
		||||
@@ -232,9 +232,10 @@ namespace NadekoBot.Services.Music
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        internal void DestroyPlayer(ulong id)
 | 
			
		||||
        public void DestroyPlayer(ulong id)
 | 
			
		||||
        {
 | 
			
		||||
            throw new NotImplementedException();
 | 
			
		||||
            if (MusicPlayers.TryRemove(id, out var mp))
 | 
			
		||||
                mp.Destroy();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user