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: |                         else: | ||||||
|                             modifier = int(matches.group(6)) |                             modifier = int(matches.group(6)) | ||||||
| 
 | 
 | ||||||
|                     result = nick + ': ' + roll + ': ' |                     result = roll + ': ' | ||||||
|                     if comment is not None: |                     if comment is not None: | ||||||
|                         result += comment + ': ' |                         result += comment + ': ' | ||||||
| 
 | 
 | ||||||
| @ -95,7 +95,7 @@ class Dice(Module): | |||||||
|                     if roll is not rolls[-1]: |                     if roll is not rolls[-1]: | ||||||
|                         reply += "; " |                         reply += "; " | ||||||
|             if reply is not "": |             if reply is not "": | ||||||
|                 return self.reply(connection, replypath, reply) |                 return self.reply(connection, replypath, nick + ': ' + reply) | ||||||
|         else: |         else: | ||||||
|             print(what.split(' ')[0]) |             print(what.split(' ')[0]) | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user