mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-10-31 07:37:22 +01:00 
			
		
		
		
	Fixed strjoin and added strconcat
This commit is contained in:
		
							parent
							
								
									4670e6df55
								
							
						
					
					
						commit
						d2f56143dc
					
				| @ -37,8 +37,12 @@ import callbacks | ||||
| class Utils(callbacks.Privmsg): | ||||
|     def strjoin(self, irc, msg, args): | ||||
|         "<separator> <strings to join>" | ||||
|         (sep, text) = privmsgs.getArgs(args, needed=2) | ||||
|         irc.reply(msg, sep.join(text.split())) | ||||
|         sep = args.pop(0) | ||||
|         irc.reply(msg, sep.join(args)) | ||||
| 
 | ||||
|     def strconcat(self, irc, msg, args): | ||||
|         "<string 1> <string 2>" | ||||
|         (first, second) = privmsgs.getArgs(args, needed=2) | ||||
|         irc.reply(msg, first+second) | ||||
| 
 | ||||
| Class = Utils | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jeremy Fincher
						Jeremy Fincher