only append the roller's nick once, at the end, if there is a reply
This commit is contained in:
		
							parent
							
								
									27b27ecb61
								
							
						
					
					
						commit
						a0fd33b070
					
				| @ -64,7 +64,7 @@ class Dice(Module): | ||||
|                         else: | ||||
|                             modifier = int(matches.group(6)) | ||||
| 
 | ||||
|                     result = nick + ': ' + roll + ': ' | ||||
|                     result = roll + ': ' | ||||
|                     if comment is not None: | ||||
|                         result += comment + ': ' | ||||
| 
 | ||||
| @ -95,7 +95,7 @@ class Dice(Module): | ||||
|                     if roll is not rolls[-1]: | ||||
|                         reply += "; " | ||||
|             if reply is not "": | ||||
|                 return self.reply(connection, replypath, reply) | ||||
|                 return self.reply(connection, replypath, nick + ': ' + reply) | ||||
|         else: | ||||
|             print(what.split(' ')[0]) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user