Replacing emoji

main2
Bob Mottram 2019-09-23 12:22:15 +01:00
parent 6611702ee1
commit a8689b749c
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ def addEmoji(baseDir: str,wordStr: str,httpPrefix: str,domain: str,replaceEmoji:
'name': ':'+emoji+':',
'type': 'Emoji'
}
replaceEmoji[wordStr]='<img src="'+emojiUrl+'" title="'+emoji+'" alt="'+emoji+'"/>'
return True
def addMention(wordStr: str,httpPrefix: str,following: str,replaceMentions: {},recipients: [],tags: {}) -> bool: