The source code for the WM-Commons-Emoji-Bot
- Install dependencies:
npm install
npm install --save request-promise- Copy the example
.envfile:
cp .env.example .env- Get credentials for your bot and complete the
.env. Note thatTWITTER_SCREEN_NAMEis case-sensitive.
npm run statusnpm run replynpm testEmoji additions, bug reports, fixes, and new features are welcomed. If you'd like to contribute code, please:
-
Clone the project
git clone https://gerrit.wikimedia.org/r/labs/tools/Commons-twitter-bot -
Start a branch named for your new feature or bug
- Contibution by adding emoji-images mapping in the data/images.json file
==The structure of the json==
"emoji":[ "Image_url" ]
- Contibution by adding emoji-images mapping in the data/images.json file
==The structure of the json==
-
Submit a patch to the gerrit repo
###More info
See the docs/devManual file for more information.