Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonchurch/mvprpg
Text based adventure! Using Telegram Messenger
https://github.com/jonchurch/mvprpg
Last synced: 22 days ago
JSON representation
Text based adventure! Using Telegram Messenger
- Host: GitHub
- URL: https://github.com/jonchurch/mvprpg
- Owner: jonchurch
- Created: 2016-08-23T20:17:09.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-17T21:00:09.000Z (over 8 years ago)
- Last Synced: 2024-10-06T14:40:46.470Z (3 months ago)
- Language: JavaScript
- Size: 1.17 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chatbot Text Adventure
Playground for experimenting with creating text adventures in messenging apps. Think [MUDs](https://en.wikipedia.org/wiki/MUD) with emoji# Bot Server
I'm using a paradigm I found in an article by @JonathanZWhite for the structure of the app. See his article about server-side infrastructure for building and supporting conversational interfaces [here](https://medium.com/@JonathanZWhite/server-side-infrastructure-when-bots-invade-a2252e9d4bc9):cheers:### Installation
##### Node
Run `$ npm install`#### Telegram
1. Go into Telegram, talk to [BotFather](https://telegram.me/botfather).
2. Create a new bot.
3. Take the telegram token and add it to your environment variables or update `/config/index.js`
4. If you want to set your environment variable run `$ export TELEGRAM_TOKEN=your_token_here`#### Spotify
1. Go to [developer.spotify.com](https://developer.spotify.com/)
2. Create a new app
3. Get the client id and secret and add it to your environment variables or update `/config/index.js`
4. Run `$ export SPOTIFY_CLIENT_ID=your_client_id_here`
5. Run `$ export SPOTIFY_CLIENT_SECRET=your_client_secret_here`### Running
1. Run `$ npm start`
2. Text the bot you made during the installation process
3. Send 'help' for a list of commands and guidance