[PR #77] [CLOSED] Updated login & loginBot for token check #87

Closed
opened 2026-02-16 12:27:00 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/stoatchat/javascript-client-sdk/pull/77
Author: @EtherealTheDev
Created: 6/15/2023
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • 011197f Updated login & loginBot for token check

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 src/Client.ts (+6 -0)

📄 Description

I added checks to see if the token exists or not, this gives the user less confusion when they improperly setup a token config like: process.env["TOKEN"]

Please make sure to check the following tasks before opening and submitting a PR

  • I understand and have followed the contribution guide
  • I have tested my changes locally and they are working as intended
  • These changes do not have any notable side effects on other Revolt projects

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stoatchat/javascript-client-sdk/pull/77 **Author:** [@EtherealTheDev](https://github.com/EtherealTheDev) **Created:** 6/15/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`011197f`](https://github.com/stoatchat/javascript-client-sdk/commit/011197f2c0322935bb6d0ea5207542f6202cbf1d) Updated login & loginBot for token check ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/Client.ts` (+6 -0) </details> ### 📄 Description I added checks to see if the token exists or not, this gives the user less confusion when they improperly setup a token config like: process.env["TOKEN"] ## Please make sure to check the following tasks before opening and submitting a PR * [x] I understand and have followed the [contribution guide](https://github.com/revoltchat/revolt/discussions/282) * [x] I have tested my changes locally and they are working as intended * [x] These changes do not have any notable side effects on other Revolt projects --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 12:27:00 -05:00
yindo closed this issue 2026-02-16 12:27:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/javascript-client-sdk#87