un pad de 7 y arreglado
This commit is contained in:
parent
1590bb71fe
commit
277c983cb4
1
lib/websocket.zig
Submodule
1
lib/websocket.zig
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit e93fa527f1d4deaeda5f74f51efaf7ec60cab396
|
1
lib/zig-tls12
Submodule
1
lib/zig-tls12
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 56153d0f9f4551c7031b3b536845e90d23250d01
|
1
lib/zmpl
Submodule
1
lib/zmpl
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit ef3242ff5c19ba7db8d272e52d87afe249bbb42e
|
@ -551,7 +551,7 @@ pub fn handleEvent(self: *Self, name: []const u8, payload: []const u8) !void {
|
|||||||
.bot = null,
|
.bot = null,
|
||||||
.redirect_uris = null,
|
.redirect_uris = null,
|
||||||
.interactions_endpoint_url = null,
|
.interactions_endpoint_url = null,
|
||||||
.flags = @as(Discord.ApplicationFlags, @bitCast(@as(u25, @intCast(app.getT(.integer, "flags").?)))),
|
.flags = @as(Discord.ApplicationFlags, @bitCast(@as(u32, @intCast(app.getT(.integer, "flags").?)))),
|
||||||
.id = try Shared.Snowflake.fromRaw(app.getT(.string, "id").?),
|
.id = try Shared.Snowflake.fromRaw(app.getT(.string, "id").?),
|
||||||
} else null,
|
} else null,
|
||||||
};
|
};
|
||||||
|
@ -301,6 +301,7 @@ pub const ApplicationFlags = packed struct {
|
|||||||
_pad2: u4 = 0,
|
_pad2: u4 = 0,
|
||||||
/// Indicates if an app has registered global application commands
|
/// Indicates if an app has registered global application commands
|
||||||
ApplicationCommandBadge: bool = false,
|
ApplicationCommandBadge: bool = false,
|
||||||
|
_pad3: u7,
|
||||||
};
|
};
|
||||||
|
|
||||||
/// https://discord.com/developers/docs/interactions/message-components#component-types
|
/// https://discord.com/developers/docs/interactions/message-components#component-types
|
||||||
|
Loading…
x
Reference in New Issue
Block a user