This commit is contained in:
parent
6ddd31b03a
commit
f791320b80
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "usetether",
|
"name": "usetether",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"author": "Braydon (Rainnny) <braydonrainnny@gmail.com>",
|
"author": "Braydon (Rainnny) <braydonrainnny@gmail.com>",
|
||||||
"description": "An API designed to provide real-time access to a user's Discord data.",
|
"description": "An API designed to provide real-time access to a user's Discord data.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -3,7 +3,7 @@ import DiscordUser from "@/types/user";
|
|||||||
import {useEffect, useState} from "react";
|
import {useEffect, useState} from "react";
|
||||||
|
|
||||||
export const useTether = (
|
export const useTether = (
|
||||||
snowflake: number,
|
snowflake: bigint | string,
|
||||||
{endpoint, secure, realtime}: TetherConfig = {
|
{endpoint, secure, realtime}: TetherConfig = {
|
||||||
endpoint: "usetether.rest",
|
endpoint: "usetether.rest",
|
||||||
secure: true,
|
secure: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user