diff --git a/src/core.zig b/src/core.zig index e44ee14..8be9f53 100644 --- a/src/core.zig +++ b/src/core.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Intents = @import("./structures/types.zig").Intents; const Snowflake = @import("./structures/snowflake.zig").Snowflake; const GatewayBotInfo = @import("internal.zig").GatewayBotInfo; diff --git a/src/discord.zig b/src/discord.zig index 587c51b..743c5cd 100644 --- a/src/discord.zig +++ b/src/discord.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + pub usingnamespace @import("./structures/types.zig"); pub const Shard = @import("shard.zig"); diff --git a/src/http.zig b/src/http.zig index 0299e9e..cf469b6 100644 --- a/src/http.zig +++ b/src/http.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const std = @import("std"); const mem = std.mem; const http = std.http; diff --git a/src/internal.zig b/src/internal.zig index f24f7ad..55403d1 100644 --- a/src/internal.zig +++ b/src/internal.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const std = @import("std"); const mem = std.mem; const Deque = @import("deque").Deque; diff --git a/src/shard.zig b/src/shard.zig index dec507a..3c4d3a8 100644 --- a/src/shard.zig +++ b/src/shard.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const ws = @import("ws"); const builtin = @import("builtin"); diff --git a/src/structures/application.zig b/src/structures/application.zig index 2c8006f..7d17213 100644 --- a/src/structures/application.zig +++ b/src/structures/application.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const ApplicationFlags = @import("shared.zig").ApplicationFlags; const OAuth2Scope = @import("shared.zig").OAuth2Scope; diff --git a/src/structures/attachment.zig b/src/structures/attachment.zig index 6d1f737..41b6881 100644 --- a/src/structures/attachment.zig +++ b/src/structures/attachment.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const AttachmentFlags = @import("shared.zig").AttachmentFlags; diff --git a/src/structures/auditlog.zig b/src/structures/auditlog.zig index 589c2a2..a3cd571 100644 --- a/src/structures/auditlog.zig +++ b/src/structures/auditlog.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Webhook = @import("webhook.zig").Webhook; const User = @import("user.zig").User; const Channel = @import("channel.zig").Channel; diff --git a/src/structures/automod.zig b/src/structures/automod.zig index 65ab2be..31e36b0 100644 --- a/src/structures/automod.zig +++ b/src/structures/automod.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; /// https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object diff --git a/src/structures/channel.zig b/src/structures/channel.zig index 9f4ec63..a18d1ef 100644 --- a/src/structures/channel.zig +++ b/src/structures/channel.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const Member = @import("member.zig").Member; diff --git a/src/structures/command.zig b/src/structures/command.zig index f8735d9..1255c7d 100644 --- a/src/structures/command.zig +++ b/src/structures/command.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const ApplicationCommandTypes = @import("shared.zig").ApplicationCommandTypes; const InteractionContextType = @import("integration.zig").InteractionContextType; const Snowflake = @import("snowflake.zig").Snowflake; diff --git a/src/structures/embed.zig b/src/structures/embed.zig index 327c7e2..adb9e95 100644 --- a/src/structures/embed.zig +++ b/src/structures/embed.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const EmbedTypes = @import("shared.zig").EmbedTypes; /// https://discord.com/developers/docs/resources/channel#embed-object diff --git a/src/structures/emoji.zig b/src/structures/emoji.zig index 4195f6c..0746cda 100644 --- a/src/structures/emoji.zig +++ b/src/structures/emoji.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const User = @import("user.zig").User; diff --git a/src/structures/events.zig b/src/structures/events.zig index d783a46..f30cf93 100644 --- a/src/structures/events.zig +++ b/src/structures/events.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const MemberWithUser = @import("member.zig").MemberWithUser; const PresenceUpdate = @import("gateway.zig").PresenceUpdate; diff --git a/src/structures/gateway.zig b/src/structures/gateway.zig index 1ccc460..b1b38be 100644 --- a/src/structures/gateway.zig +++ b/src/structures/gateway.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const User = @import("user.zig").User; const Snowflake = @import("snowflake.zig").Snowflake; const ActivityTypes = @import("shared.zig").ActivityTypes; diff --git a/src/structures/guild.zig b/src/structures/guild.zig index 00b0dc6..bf161be 100644 --- a/src/structures/guild.zig +++ b/src/structures/guild.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const VerificationLevels = @import("shared.zig").VerificationLevels; const DefaultMessageNotificationLevels = @import("shared.zig").DefaultMessageNotificationLevels; diff --git a/src/structures/integration.zig b/src/structures/integration.zig index c820fb7..689f9a6 100644 --- a/src/structures/integration.zig +++ b/src/structures/integration.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const IntegrationExpireBehaviors = @import("shared.zig").IntegrationExpireBehaviors; const OAuth2Scope = @import("shared.zig").OAuth2Scope; diff --git a/src/structures/interaction.zig b/src/structures/interaction.zig index 4d90281..1aa181e 100644 --- a/src/structures/interaction.zig +++ b/src/structures/interaction.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const InteractionTypes = @import("shared.zig").InteractionTypes; const Guild = @import("guild.zig").Guild; diff --git a/src/structures/invite.zig b/src/structures/invite.zig index 77a62b0..4fe36e0 100644 --- a/src/structures/invite.zig +++ b/src/structures/invite.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const User = @import("user.zig").User; const Guild = @import("guild.zig").Guild; diff --git a/src/structures/member.zig b/src/structures/member.zig index 1aace57..acdb627 100644 --- a/src/structures/member.zig +++ b/src/structures/member.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const User = @import("user.zig").User; const Snowflake = @import("snowflake.zig").Snowflake; const AvatarDecorationData = @import("user.zig").AvatarDecorationData; diff --git a/src/structures/message.zig b/src/structures/message.zig index 9bf4ccc..55262db 100644 --- a/src/structures/message.zig +++ b/src/structures/message.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const User = @import("user.zig").User; const Member = @import("member.zig").Member; diff --git a/src/structures/monetization.zig b/src/structures/monetization.zig index 55bd5dd..5d51a89 100644 --- a/src/structures/monetization.zig +++ b/src/structures/monetization.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const SkuFlags = @import("shared.zig").SkuFlags; diff --git a/src/structures/oauth.zig b/src/structures/oauth.zig index 0a0f390..799859f 100644 --- a/src/structures/oauth.zig +++ b/src/structures/oauth.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const OAuth2Scope = @import("shared.zig").OAuth2Scope; const Guild = @import("guild.zig").Guild; const IncomingWebhook = @import("webhook.zig").IncomingWebhook; diff --git a/src/structures/partial.zig b/src/structures/partial.zig index e4b7149..71f1057 100644 --- a/src/structures/partial.zig +++ b/src/structures/partial.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const std = @import("std"); pub fn Partial(comptime T: type) type { diff --git a/src/structures/poll.zig b/src/structures/poll.zig index 0693604..9766232 100644 --- a/src/structures/poll.zig +++ b/src/structures/poll.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const User = @import("user.zig").User; const Emoji = @import("emoji.zig").Emoji; diff --git a/src/structures/role.zig b/src/structures/role.zig index 5eeead7..3d546ae 100644 --- a/src/structures/role.zig +++ b/src/structures/role.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const RoleFlags = @import("shared.zig").RoleFlags; diff --git a/src/structures/scheduled_event.zig b/src/structures/scheduled_event.zig index 930e252..5f37c53 100644 --- a/src/structures/scheduled_event.zig +++ b/src/structures/scheduled_event.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const ScheduledEventPrivacyLevel = @import("shared.zig").ScheduledEventPrivacyLevel; const ScheduledEventStatus = @import("shared.zig").ScheduledEventStatus; diff --git a/src/structures/shared.zig b/src/structures/shared.zig index a629439..21c84c9 100644 --- a/src/structures/shared.zig +++ b/src/structures/shared.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const std = @import("std"); const Snowflake = @import("snowflake.zig").Snowflake; const zjson = @import("json"); diff --git a/src/structures/snowflake.zig b/src/structures/snowflake.zig index 35b8c70..8ad00ba 100644 --- a/src/structures/snowflake.zig +++ b/src/structures/snowflake.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const std = @import("std"); const zjson = @import("json"); diff --git a/src/structures/team.zig b/src/structures/team.zig index 9119c91..5fece4b 100644 --- a/src/structures/team.zig +++ b/src/structures/team.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const TeamMembershipStates = @import("shared.zig").TeamMembershipStates; diff --git a/src/structures/thread.zig b/src/structures/thread.zig index 9826dbb..e20ba7f 100644 --- a/src/structures/thread.zig +++ b/src/structures/thread.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const Channel = @import("channel.zig").Channel; const ChannelTypes = @import("shared.zig").ChannelTypes; diff --git a/src/structures/types.zig b/src/structures/types.zig index 7cda7e7..f9485cd 100644 --- a/src/structures/types.zig +++ b/src/structures/types.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const GatewayDispatchEventNames = @import("shared.zig").GatewayDispatchEventNames; pub usingnamespace @import("shared.zig"); diff --git a/src/structures/user.zig b/src/structures/user.zig index 542944d..e17a664 100644 --- a/src/structures/user.zig +++ b/src/structures/user.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const PremiumTypes = @import("shared.zig").PremiumTypes; const Snowflake = @import("snowflake.zig").Snowflake; const Application = @import("application.zig").Application; diff --git a/src/structures/webhook.zig b/src/structures/webhook.zig index 451400b..8f1f93d 100644 --- a/src/structures/webhook.zig +++ b/src/structures/webhook.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Snowflake = @import("snowflake.zig").Snowflake; const WebhookTypes = @import("shared.zig").WebhookTypes; const User = @import("user.zig").User; diff --git a/src/test.zig b/src/test.zig index 67a89f0..cea70cb 100644 --- a/src/test.zig +++ b/src/test.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. + const Discord = @import("discord.zig"); const Shard = Discord.Shard; const Internal = Discord.Internal; diff --git a/vendor/zjson/json.zig b/vendor/zjson/json.zig index 84ba75f..8796304 100644 --- a/vendor/zjson/json.zig +++ b/vendor/zjson/json.zig @@ -1,3 +1,19 @@ +//! ISC License +//! +//! Copyright (c) 2024-2025 Yuzu +//! +//! Permission to use, copy, modify, and/or distribute this software for any +//! purpose with or without fee is hereby granted, provided that the above +//! copyright notice and this permission notice appear in all copies. +//! +//! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +//! REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +//! AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +//! INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +//! LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +//! OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +//! PERFORMANCE OF THIS SOFTWARE. +//! --------------------------------------------------------------------------------------------------------------------- //! JSON Parser //! This is an implementation of a JSON parser written using the Zig standard library. //! It uses monadic combinators to build an expressive PEG grammar that is extensible to other formats.