Skip to content

Commit

Permalink
type shout
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperCater committed Jul 30, 2024
1 parent dfedad9 commit 8e7532c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wrapblox",
"version": "0.5.6",
"version": "0.5.7",
"description": "A wrapper for Roblox's API",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/Classes/Group.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { APIGroupSettings, APIRoles, RawGroupData, RawMemberData } from "../Types/GroupTypes.js";
import { APIGroupSettings, APIRoles, RawGroupData, RawMemberData, RawShout } from "../Types/GroupTypes.js";
import WrapBlox, { SortOrder } from "../index.js";
import Member from "./Member.js";
import Role from "./Role.js";
Expand Down Expand Up @@ -147,7 +147,7 @@ class Group {
});
}

async setShout(message : string) {
async setShout(message : string): Promise<RawShout> {
return await this.client.fetchHandler.fetch('PATCH', 'Groups', `/groups/${this.id}/status`, {
body: {
message: message
Expand Down

0 comments on commit 8e7532c

Please sign in to comment.