Jump to content



Recommended Posts

  • Administrators

Getting started


Fire up a codepen app eg: https://codepen.io/xatcom/pen/pQOWyZ?editors=0010


 Screen Shot 2018-12-04 at 07.05.55.jpg


mychat is the name of the chat where you want the appbot to run


myname is a xat registered user name (probably needs to be different from your main ID)

(In the future it may need the appbot power and days)


a2bb8a73336665ba5 is the apikey for "myname". you can get that at xat.com/login under Security settings

Screen Shot 2018-12-04 at 07.12.24.jpg

(Never share your api key, no one needs it. If you do you can change it at any time)


Press the "Run appbot on chat" button


Go to your group (mychat) and member your bot (MYBOT)


Make sure anyone who wants to play use the html5 version of your chat eg




And then they run the Canvas app,


Click (in the chat, to the right of the smilie line): 

Screen Shot 2018-12-04 at 07.18.54.jpg

Then click:

Screen Shot 2018-12-04 at 07.20.04.jpg


Then press "Run appbot on chat" button again to start the app/game on your chat.

  • Award 4
Link to comment
Share on other sites

  • Administrators

Make your own game


Fire up a codepen app eg: https://codepen.io/xatcom/pen/pQOWyZ?editors=0010


Find this line

let sm = ['smile','biggrin','wink','eek','tongue','cool','mad','confused','redface','frown','crying','sleepy','rolleyes','d','vampire','pirate2'];

in the JS window


Change the name of the smilies to your fav xat smilies


You should see the new smilies appear in the debug games

(there may be a delay due to a bug in canvas)


Then run the game on your chat with the "Run appbot on chat" button


You can use the Screen Shot 2018-12-04 at 07.33.22.jpg button to save your work on codepen

  • Award 3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.