Skip to content

jman12857/JBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note, before cloning:

I recommend using this project as an example, reading through index.ts, rather than cloning as a basis for your bot. This is for two reasons:

  • js-tale has been updated several times since this was made
  • When getting assistance from others, it is helpeful for people to all be on the same starting page

js-tale-discord-example

A basic example of a single-server js-tale client, combined with discord.js

See the root libraries for more information about them:

Currently supports some example commands:

  • ping : responds pong
  • players : responds with a list of players
  • where : responds with the chunk the player is in

Installing:

  • Clone the repo: git clone https://github.com/Narmdo/js-tale-discord-example
  • Install dependencies: npm i
  • Edit config.json. This should include an ATT client_id, client_password and group ID, and a discord bot token.
  • Run! npm start

Important!

If you plan to maintain a repository for your bot, ensure you add config.json to the .gitignore file.

About

using js-tale templat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published