feat(plugins): minimal account API (#6554)
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl> Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
This commit is contained in:
Vendored
+10
@@ -376,6 +376,16 @@ declare namespace c2 {
|
||||
Original,
|
||||
Repost,
|
||||
}
|
||||
|
||||
class TwitchAccount implements IWeakResource {
|
||||
is_valid(): boolean;
|
||||
user_login(): string;
|
||||
user_id(): string;
|
||||
color(): string;
|
||||
is_anon(): boolean;
|
||||
}
|
||||
|
||||
function current_account(): TwitchAccount;
|
||||
}
|
||||
|
||||
declare module "chatterino.json" {
|
||||
|
||||
Reference in New Issue
Block a user