-
further improved
!weathercommand(s)- support for more diverse queries
- weather forecast command(s)
- special weather statements & alerts command(s)
- space weather command(s)
-
!launchcommand(s)- returns information about rocket launches
Hey, isn't that what this bot is made for???
- added formatting to
!taf&!metar
-
🔴[BREAKING] updated
npmto v9 from v8 in Docker -
🔴[BREAKING] updated
discordjsto v14 from v13 -
added warning to the
npm startcommand- with Docker working as intended, it is now recommended to only use Docker except for specific situations
- added
botNametoconfig.json*
-
improved commands
!cookienow works as intended with the limited permissions granted to the bot by default.!examplewas updated to mirror new DiscordJS formats
-
fixed commands broken by updating discordjs from v13 to v14
- new embed class
- colors can no longer be represented as strings
- embed timestamps no longer support string date/time
-
main.jshas been massively overhauled -
improved weather commands
-
improved
!nasacommand- optional date parameter
- new alias (
apod)
-
added
!pngcommand -
updated
!aboutcommand -
updated
example.js -
added
!helpcommand -
added
!invitecommand -
other minor updates
- removed unused scripts & files
- updated
config.json"throwInvalid": [bool]toggles the!<command> is not a valid command.error message"github": <url string>sets the GitHub link used for different commands"version": <array>defines different formats of the current version
- fixed deprecation warnings during install [#5]
- updated node packages
- updated to
npm v8&Node LTS Gallium
-
added
Dockerfilefor containerization; check here for information on how to use it -
added instructions for running Docker & npm in
README.md
-
fixed
package.json&package-lock.json;npm installshould work with no issue (disregard deprecation warnings)- pruned
uwebsockets.jsto stop fatal install errors
- pruned
-
updated
CHANGELOG.mdto follow the markdown standard- fixed all "duplicate heading level 3" errors
- DMs are no longer monitored
- the
!weathercommand embed now links to the location's webpage - the
!weathercommand sectionwind gustnow shows the unit of measurement [m/s] - the
!weathercommand no longer shows sections with no value (excluding description) - added asynchronous log/debug/warn/error for improved response times - questionably effective
- improved error handling
- improved code formatting consistency
- other minor fixes & small improvements
-
Discord bot
tokenis now stored in the.envfile located in./CosmoQuestBot-master/; enter it afterDISCORD_TOKEN=- Example:
DISCORD_TOKEN="937it3ow87i4ery69876wqire"
- Example:
-
changed weather API from
weather-js (weather.service.msn.com)toapi.openweathermap.org- create an account here to receive your API key via email
- store the API key in the
.envfile located in./CosmoQuestBot-master/; enter it afterWEATHER_API_KEY=- Example:
WEATHER_API_KEY="bb5832afe13cefbd2bb1ad78a0200875"
- Example:
-
"This city doesn't exist." bot message when running
!weathercommand should happen less often; use the format!weather <city name>, <US state name [optional]>, <country as alpha-2 (ISO 3166)>for best results -
improved error handling & bot error messages
-
improved the
!saycommand to allow for anyone with theADMINISTRATORpermission to send a message as the bot -
improved the
!pingcommand to report more information [API, Upload, & Download latency]
- removed Discord bot
tokenfromconfig.jsonlocated in./CosmoQuestBot-master/; check under Fixes for more information