Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Add karma ratelimit #54

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion lib/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface Status {
export interface Karma {
_id: string;
username: string;
karma: string;
karma: number;
}

/**
Expand Down Expand Up @@ -82,3 +82,12 @@ export interface UserPosts {
u: string;
};
}

/**
* The interface for cooldowns
*/
export interface Cooldown {
username: string;
user_karma: number;
karma: string;
}
Loading