-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
165 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# LevelRoleResult | ||
|
||
### Properties | ||
|
||
- `_id` (string, optional): The ID of the document. | ||
- `guild` (string): The guild ID of the level role. | ||
- `level` (number): The level of the level role. | ||
- `roles` (string[] | string): The roles of the level role. | ||
- `timestamp` (string): The timestamp of the level role. | ||
|
||
### Example | ||
|
||
```typescript | ||
export type LevelRoleResult = { | ||
_id?: string, | ||
guild: string; | ||
level: number; | ||
roles: Array<string>; | ||
timestamp: string; | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# UserResult | ||
|
||
### Properties | ||
|
||
- `_id` (string, optional): The ID of the document. | ||
- `user` (string): The ID of the user. | ||
- `name` (string, optional): The name of the user. | ||
- `guild` (string): The ID of the guild. | ||
- `level` (number): The level of the user in the guild. | ||
- `xp` (number): The XP of the user in the guild. | ||
|
||
### Example | ||
|
||
```typescript | ||
export interface UserResult { | ||
_id?: string, | ||
user: string; | ||
name?: string; | ||
guild: string; | ||
level: number; | ||
xp: number; | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# XPResult | ||
|
||
### Properties | ||
|
||
- `_id` (string, optional): The ID of the document. | ||
- `user` (string): The ID of the user. | ||
- `name` (string, optional): The name of the user. | ||
- `guild` (string): The ID of the guild. | ||
- `level` (number): The level of the user in the guild. | ||
- `xp` (number): The XP of the user in the guild. | ||
- `hasLevelledUp` (boolean): Whether or not the user has levelled up. | ||
|
||
### Example | ||
|
||
```typescript | ||
interface XPResult extends UserResult { | ||
hasLevelledUp: boolean; | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.