- Preparing search index...
- The search index is not available
Guilded.JS
Methods
serverXpForRoleCreate
- serverXpForRoleCreate(options): CancelablePromise<void>
-
Parameters
-
options: {
requestBody: {
amount: number;
};
roleId: number;
serverId: string;
}
-
requestBody: {
amount: number;
}
-
roleId: number
-
serverId: string
void
serverXpForUserCreate
- serverXpForUserCreate(options): CancelablePromise<{
total: number;
}>
-
Parameters
-
options: {
requestBody: {
amount: number;
};
serverId: string;
userId: string;
}
-
requestBody: {
amount: number;
}
-
serverId: string
-
userId: string
any Success
serverXpForUserCreateMany
- serverXpForUserCreateMany(options): CancelablePromise<{
totalsByUserId: Record<string, number>;
}>
-
Parameters
-
options: {
requestBody: {
amount: number;
userIds: string[];
};
serverId: string;
}
-
requestBody: {
amount: number;
userIds: string[];
}
-
amount: number
-
userIds: string[]
-
serverId: string
Returns CancelablePromise<{
totalsByUserId: Record<string, number>;
}>
any Success
serverXpForUserUpdate
- serverXpForUserUpdate(options): CancelablePromise<{
total: number;
}>
-
Parameters
-
options: {
requestBody: {
total: number;
};
serverId: string;
userId: string;
}
-
requestBody: {
total: number;
}
-
serverId: string
-
userId: string
any Success
serverXpForUserUpdateMany
- serverXpForUserUpdateMany(options): CancelablePromise<{
totalsByUserId: Record<string, number>;
}>
-
Parameters
-
options: {
requestBody: {
amount: number;
userIds: string[];
};
serverId: string;
}
-
requestBody: {
amount: number;
userIds: string[];
}
-
amount: number
-
userIds: string[]
-
serverId: string
Returns CancelablePromise<{
totalsByUserId: Record<string, number>;
}>
any Success
Award XP to role Award XP to all members with a particular role.
Throws
ApiError