mirror of
https://github.com/SillyTavern/Extension-Weather.git
synced 2026-10-15 13:32:14 +00:00
[PR #2] [MERGED] Add /weather-provider slash command #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/Extension-Weather#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SillyTavern/Extension-Weather/pull/2
Author: @Copilot
Created: 2/24/2026
Status: ✅ Merged
Merged: 2/24/2026
Merged by: @Cohee1207
Base:
main← Head:copilot/add-weather-provider-command📝 Commits (7)
41afcedInitial planda58eefAdd /weather-provider slash command to switch between weather API providers1985e90Address review: WEATHER_PROVIDERS as object with names, add enumList to quiet arg, use toString() on value50eafa0Add /weather-provider command to README.md documentationdac5b39Accept human-readable provider names and display them in toast5fe1ad2Use Object.entries for provider lookupeb0c027Refactor weather provider lookup to destructure provider name and improve error handling📊 Changes
2 files changed (+80 additions, -0 deletions)
View changed files
📝
README.md(+20 -0)📝
index.js(+60 -0)📄 Description
/weather-providerslash command toindex.jsSlashCommandEnumValue,enumTypes, andcommonEnumProvidersquietnamed argument (boolean) withenumListfromcommonEnumProviders.boolean('trueFalse')()quiet=true)WEATHER_PROVIDERSobjecttoString()on value before trimming/weather-providerto README.md documentation with usage, valid providers, arguments, and examples🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.