Code Monkey home page Code Monkey logo

so-chatbot's Introduction

Help

This is the bot that lives in The Hangar - for more info, ping @DannyBeckett.

So far, using 3-letter IATA or 4-letter ICAO airport codes, you can try:

  • !!weather KJFK to get English weather info for New York JFK airport
  • !!metar LPL to get raw METAR data for Liverpool John Lennon airport
  • !!taf AMS to get raw TAF data for Amsterdam Schiphol airport
  • !!distance LHR FRA to get approximate distances & flying times between London Heathrow and Frankfurt

You can also try:

  • !!TeachMeToFly

Leave an answer here with ideas for new commands! Here are some that have been suggested:


Technical Info

You can check out the source code for the above commands at ./source/plugins/av-*.js.

The corresponding PHP can be found at ../so-chatbot-php-helper.

Edits:

./source/adapter.js

./source/commands.js

Commands deleted:

  • Specific to programming or unnecessary: awsm colors cowsay domain firefly github hangman jquery mdn mustache norris stop urban vendetta xkcd zalgo;

  • The !!weather command to make room for ours.

so-chatbot's People

Contributors

5pitf1re avatar amaanc avatar benjamingr avatar bobvul avatar canop avatar dannybeckett avatar incognito avatar petkaantonov avatar ralt avatar retsam avatar rlemon avatar shmiddty avatar somekittens avatar steve-v avatar teward avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

voretaq7

so-chatbot's Issues

Allow command aliases

E.g.

bot.addCommand({
    name:           'metar',
    fun:            weather.metar,
    description:    'Retrieves the raw METAR weather data for a specified 3-letter IATA or 4-letter ICAO airport code - e.g. `!!metar LPL` or `!!metar KJFK`',
    async:          true,
    permissions:    {
                        del:    'NONE'
                    }
});

bot.addCommand({
    name:           'metar',
    fun:            weather.metar,
    description:    'Retrieves the raw METAR weather data for a specified 3-letter IATA or 4-letter ICAO airport code - e.g. `!!metar LPL` or `!!metar KJFK`',
    async:          true,
    permissions:    {
                        del:    'NONE'
                    }
});

Becomes:

bot.addCommand({
    name:           'metar',
    aliases:        ['metars'],
    fun:            weather.metar,
    description:    'Retrieves the raw METAR weather data for a specified 3-letter IATA or 4-letter ICAO airport code - e.g. `__CMD__ LPL` or `__CMD__ KJFK`',
    async:          true,
    permissions:    {
                        del:    'NONE'
                    }
});

Use NOAA instead of ADDS

Initially for !!metar and !!taf, and eventually !!weather.

All aerodromes should then be found.

Allow selection of a lesson by category

DeltaLima: we could try and make some categories in the lessons from Otto. I was thinking: [general introduction], [pre-flight], [basics of control], [take-off], [cruise flight], [landing](tons of these ;-), [CRM], [law & regulations] etc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.