Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

View rtrampox's full-sized avatar

Isaque rtrampox

  • Belo Horizonte - Brazil
  • 17:22(UTC -03:00)
View GitHub Profile
@rtrampox
rtrampox /CompleteDiscordQuest.md
CreatedDecember 3, 2025 03:54— forked fromaamiaa/CompleteDiscordQuest.md
Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use thedesktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. PressCtrl+Shift+I to open DevTools
  3. Go to theConsole tab
  4. Paste the following code and hit enter:
@rtrampox
rtrampox /try-catch.ts
CreatedMarch 21, 2025 16:54— forked fromt3dotgg/try-catch.ts
Theo's preferred way of handling try/catch in TypeScript
// Types for the result object with discriminated union
typeSuccess<T>={
data:T;
error:null;
};
typeFailure<E>={
data:null;
error:E;
};

[8]ページ先頭

©2009-2025 Movatter.jp