mattermost-plugin-emoticon2emoji

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

README

mattermost-plugin-emoticon2emoji

A plugin that completes the automatic conversion from emoticon to emoji (:) to 😄) in Mattermost messages, by adding Slack mappings and some other (see matches.go for the default list) which can be configured.

Requirements

  • Mattermost 5.0 (to allow plugins to intercept posts).

Installation and configuration

  1. Go to the Releases page and download the package for your OS and architecture.
  2. Use the Mattermost System Console > Plugins Management > Management page to upload the .tar.gz package
  3. Go to the plugin configuration page to edit the custom mappings if needed
  4. Activate the plugin in the System Console > Plugins Management > Management page

Manual configuration

If you need to enable & configure this plugin directly in the Mattermost configuration file config.json, for example if you are doing a High Availability setup, you can use the following lines:

 "PluginSettings": {
        // [...]
        "Plugins": {
            "com.github.moussetc.mattermost.plugin.emoticon2emoji": {
                "CustomMatches": "" // custom emoticons->emoji mappings in JSON format, see plugin.yaml for the default value
        },
        "PluginStates": {
            // [...]
            "com.github.moussetc.mattermost.plugin.emoticon2emoji": {
                "Enable": true
            },
        }
    }

Usage

Use the usual emoticons and the post will be automatically updated to replace the emoticon by the emoji code.

Development

Run make vendor to install dependencies, then develop like any other Go project, using go test, go build, etc.

If you want to create a fully bundled plugin that will run on a local server, you can use make mattermost-plugin-emoticon2emoji.tar.gz.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL