File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ export enum AchievementId {
1616 BotKiller = 'BOT_KILLER' ,
1717}
1818
19- export interface APIAchievement < IDType = string > {
20- _id : IDType ;
19+ export interface APIAchievement {
20+ id : string ;
2121 /**
2222 * The Discord Snowflake ID of the user who earned the achievement.
2323 */
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ export const CountingModes = [
1515
1616export type CountingMode = ( typeof CountingModes ) [ number ] ;
1717
18- export interface APICountingChannel < IDType = string > {
19- _id : IDType ;
18+ export interface APICountingChannel {
19+ id : string ;
2020 /**
2121 * If the channel is enabled.
2222 */
Original file line number Diff line number Diff line change 11import type { Modifiers } from '../utils/BaseModifier.js' ;
22
3- export interface APICountingChannelModifiers < IDType = string > {
3+ export interface APICountingChannelModifiers {
44 /**
55 * The ObjectID of the channel modifiers
66 */
7- _id : IDType ;
7+ id : string ;
88 /**
99 * The ID of the channel these modifiers are for.
1010 */
Original file line number Diff line number Diff line change 11import type { LanguageCode } from '../utils/index.js' ;
22
3- export interface APICountingGuild < IDType = string > {
4- /**
5- * The ObjectID of the guild
6- */
7- _id : IDType ;
3+ export interface APICountingGuild {
84 /**
95 * The Discord Snowflake of the guild
106 */
Original file line number Diff line number Diff line change 1- export interface APICountingSummary < IDType = string > {
2- _id : IDType ;
1+ export interface APICountingSummary {
2+ id : string ;
33 /**
44 * If the summary is the current one
55 */
Original file line number Diff line number Diff line change 11import { ItemString } from '../utils/items.js' ;
22
3- export interface APICountingUser < IDType = string > {
4- /**
5- * The ObjectID of the user
6- */
7- _id : IDType ;
3+ export interface APICountingUser {
84 /**
95 * The Discord Snowflake ID of the user
106 */
11- userId : string ;
7+ id : string ;
128 /**
139 * The amount of coins the user has
1410 */
Original file line number Diff line number Diff line change 11import type { Modifiers } from '../utils/BaseModifier.js' ;
22
3- export interface APICountingUserModifiers < IDType = string > {
3+ export interface APICountingUserModifiers {
44 /**
5- * The ObjectID of the user modifiers
5+ * The id of the user modifiers
66 */
7- _id : IDType ;
7+ id : string ;
88 /**
99 * The ID of the user these modifiers are for.
1010 */
You can’t perform that action at this time.
0 commit comments