diff --git a/@types/CallbackManager.d.ts b/@types/CallbackManager.d.ts
index 3b8a27a..8312343 100644
--- a/@types/CallbackManager.d.ts
+++ b/@types/CallbackManager.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
export type CallbackCreateInfo = {
payload: T,
expiresAt: number,
diff --git a/@types/Client.ts b/@types/Client.ts
index f7934ad..a404e83 100644
--- a/@types/Client.ts
+++ b/@types/Client.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerClientOptions } from '@navy.gif/logger';
import {
Partials,
diff --git a/@types/Commands/Moderation.d.ts b/@types/Commands/Moderation.d.ts
index 1d3299b..e81e53e 100644
--- a/@types/Commands/Moderation.d.ts
+++ b/@types/Commands/Moderation.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { SlashCommandOptions } from '../Client.js';
export type ModerationCommandOptions = {
diff --git a/@types/Commands/Settings.ts b/@types/Commands/Settings.ts
index dfe1c4b..e546b7f 100644
--- a/@types/Commands/Settings.ts
+++ b/@types/Commands/Settings.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { SlashCommandOptions } from '../Client.js';
import { ReplyOptions } from '../Wrappers.js';
diff --git a/@types/Controller.d.ts b/@types/Controller.d.ts
index dd43300..0ab78d2 100644
--- a/@types/Controller.d.ts
+++ b/@types/Controller.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerMasterOptions, LoggerClientOptions } from '@navy.gif/logger';
import { ClientOptions } from './Client.ts';
import { StorageManagerOptions } from './Storage.js';
diff --git a/@types/Events.d.ts b/@types/Events.d.ts
index c90b3ad..b79b036 100644
--- a/@types/Events.d.ts
+++ b/@types/Events.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Component } from '../src/client/interfaces/index.ts';
import { ClientEvents as CE, InvalidRequestWarningData, RateLimitData, ResponseLike } from 'discord.js';
import { ExtendedGuildBan, ExtendedMessage } from './Client.ts';
diff --git a/@types/Guild.d.ts b/@types/Guild.d.ts
index 2794b6b..f594f22 100644
--- a/@types/Guild.d.ts
+++ b/@types/Guild.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { ChannelType, Snowflake } from 'discord.js';
import {
AutomodSettings,
diff --git a/@types/Infractions.d.ts b/@types/Infractions.d.ts
index 9a09610..3404ee0 100644
--- a/@types/Infractions.d.ts
+++ b/@types/Infractions.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { GuildTextBasedChannel } from 'discord.js';
import { MemberWrapper } from '../src/client/components/wrappers/index.ts';
import { BaseInfractionData } from './Client.ts';
diff --git a/@types/Moderation.d.ts b/@types/Moderation.d.ts
index 9d11716..ffae473 100644
--- a/@types/Moderation.d.ts
+++ b/@types/Moderation.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { GuildBasedChannel, GuildTextBasedChannel, Message } from 'discord.js';
import { GuildWrapper, InvokerWrapper, MemberWrapper, UserWrapper } from '../src/client/components/wrappers/index.ts';
import { CommandOption, Infraction } from '../src/client/interfaces/index.ts';
diff --git a/@types/Settings.ts b/@types/Settings.ts
index f4a2aef..46dddb0 100644
--- a/@types/Settings.ts
+++ b/@types/Settings.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Snowflake } from 'discord.js';
import { InfractionType, SettingAction } from './Client.js';
@@ -7,6 +23,7 @@ export type UserSettings = {
}
export type Setting = {
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
[key: string]: any
enabled: boolean
}
@@ -85,6 +102,7 @@ export enum MuteType {
Timeout = 3
}
export type MuteSettings = {
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
[key: string]: any// MuteType | Snowflake | number | boolean | null
type: MuteType,
role: Snowflake | null,
@@ -163,6 +181,7 @@ export type WelcomerSettings = {
} & Setting
export type WordWatcherSettings = {
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
[key: string]: any// SettingAction[] | string[] | string | null
words: string[],
regex: string[],
diff --git a/@types/Shard.d.ts b/@types/Shard.d.ts
index 7197d01..d613baa 100644
--- a/@types/Shard.d.ts
+++ b/@types/Shard.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { ClientOptions } from './Client.ts';
export type ShardingOptions = {
diff --git a/@types/Shared.d.ts b/@types/Shared.d.ts
index b241562..13b844c 100644
--- a/@types/Shared.d.ts
+++ b/@types/Shared.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { WriteOptions, LoggerClient } from '@navy.gif/logger';
import { ClientOptions } from './Client.ts';
diff --git a/@types/Storage.d.ts b/@types/Storage.d.ts
index 5cdeafe..b296499 100644
--- a/@types/Storage.d.ts
+++ b/@types/Storage.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { MongoClientOptions } from 'mongodb';
import { PoolClusterConfig, PoolConfig } from 'mysql';
diff --git a/@types/Utils.d.ts b/@types/Utils.d.ts
index e27b5f3..caf0cd4 100644
--- a/@types/Utils.d.ts
+++ b/@types/Utils.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
export type FilterType = 'explicit' | 'regex' | 'fuzzy'
export type FilterResult = {
diff --git a/@types/Wrappers.d.ts b/@types/Wrappers.d.ts
index df52697..fb3bf69 100644
--- a/@types/Wrappers.d.ts
+++ b/@types/Wrappers.d.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { APIEmbed, ActionRowData, Attachment, AttachmentBuilder, AttachmentPayload, ChannelSelectMenuInteraction, EmbedBuilder, MentionableSelectMenuInteraction, MessageActionRowComponentBuilder, MessageActionRowComponentData, MessageComponent, MessageComponentType, RoleSelectMenuInteraction, StringSelectMenuInteraction, UserSelectMenuInteraction } from 'discord.js';
import { FormatOpts, FormatParams } from './Client.ts';
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..e72bfdd
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
\ No newline at end of file
diff --git a/index.ts b/index.ts
index eae52ef..f35868f 100644
--- a/index.ts
+++ b/index.ts
@@ -1,4 +1,19 @@
-// require('dotenv').config({ override: true });
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { config } from 'dotenv';
config({ override: true });
// eslint-disable-next-line no-console
diff --git a/package.json b/package.json
index 1e44718..15f8e85 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
"url": "git+https://github.com/Navy-gif/New-GBot.git"
},
"author": "Navy.gif",
- "license": "ISC",
+ "license": "GPLv3",
"bugs": {
"url": "https://github.com/Navy-gif/New-GBot/issues"
},
diff --git a/src/client/DiscordClient.ts b/src/client/DiscordClient.ts
index e9509e8..c2a06c6 100644
--- a/src/client/DiscordClient.ts
+++ b/src/client/DiscordClient.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import {
Client,
Collection,
diff --git a/src/client/components/Dispatcher.ts b/src/client/components/Dispatcher.ts
index 1aba5d0..01a57d7 100644
--- a/src/client/components/Dispatcher.ts
+++ b/src/client/components/Dispatcher.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import DiscordClient from '../DiscordClient.js';
import { LoggerClient } from '@navy.gif/logger';
import { Component, Observer } from '../interfaces/index.js';
diff --git a/src/client/components/EventHooker.ts b/src/client/components/EventHooker.ts
index 7f6dc45..438a0ce 100644
--- a/src/client/components/EventHooker.ts
+++ b/src/client/components/EventHooker.ts
@@ -1,6 +1,18 @@
-// const { EventEmitter } = require('events');
-// const { Logger } = require('../../utilities');
-// const { InteractionWrapper } = require('./wrappers');
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
import EventEmitter from 'node:events';
import { LoggerClient } from '@navy.gif/logger';
diff --git a/src/client/components/Intercom.ts b/src/client/components/Intercom.ts
index deb7ef8..429d85f 100644
--- a/src/client/components/Intercom.ts
+++ b/src/client/components/Intercom.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import DiscordClient from '../DiscordClient.js';
import SlashCommand from '../interfaces/commands/SlashCommand.js';
diff --git a/src/client/components/LocaleLoader.ts b/src/client/components/LocaleLoader.ts
index 240460c..3e2bc3a 100644
--- a/src/client/components/LocaleLoader.ts
+++ b/src/client/components/LocaleLoader.ts
@@ -1,16 +1,24 @@
-// const path = require('path');
-// const fs = require('fs');
-// const chalk = require('chalk');
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
import path from 'node:path';
import fs from 'node:fs';
import chalk from 'chalk';
import { LoggerClient } from '@navy.gif/logger';
-// const { Util } = require('../../utilities');
-// const { Emojis } = require('../../constants/index.js');
-// const { Logger } = require('../../utilities');
-
import { Util } from '../../utilities/index.js';
import { Emojis } from '../../constants/index.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/components/RateLimiter.ts b/src/client/components/RateLimiter.ts
index 6c705bd..360cf60 100644
--- a/src/client/components/RateLimiter.ts
+++ b/src/client/components/RateLimiter.ts
@@ -1,4 +1,18 @@
-// const { TextChannel, Message } = require('discord.js');
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
import { GuildTextBasedChannel, Message, MessageCreateOptions, TextChannel } from 'discord.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/components/Registry.ts b/src/client/components/Registry.ts
index 9c2b098..b65695d 100644
--- a/src/client/components/Registry.ts
+++ b/src/client/components/Registry.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import path from 'node:path';
import { Collection } from 'discord.js';
diff --git a/src/client/components/Resolver.ts b/src/client/components/Resolver.ts
index 1837f1e..ddadffe 100644
--- a/src/client/components/Resolver.ts
+++ b/src/client/components/Resolver.ts
@@ -1,13 +1,18 @@
-// const timestring = require('@navy.gif/timestring');
-// const moment = require('moment');
-// // eslint-disable-next-line no-unused-vars
-// // const { DiscordClient } = require('../DiscordClient');
-// // eslint-disable-next-line no-unused-vars
-// const Component = require('../interfaces/Component');
-// const { Constants: { InfractionResolves } } = require('../../constants');
-// const { GuildWrapper } = require('./wrappers');
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
-// const { Resolver: DNSResolver } = require('dns').promises;
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
import { Resolver as DNSResolver } from 'node:dns/promises';
diff --git a/src/client/components/commands/administration/Administration.ts b/src/client/components/commands/administration/Administration.ts
index 4691518..52374cc 100644
--- a/src/client/components/commands/administration/Administration.ts
+++ b/src/client/components/commands/administration/Administration.ts
@@ -1,4 +1,19 @@
-// const { SettingsCommand } = require('../../../interfaces');
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import DiscordClient from '../../../DiscordClient.js';
import { SettingsCommand } from '../../../interfaces/index.js';
diff --git a/src/client/components/commands/administration/Import.ts b/src/client/components/commands/administration/Import.ts
index ab776e0..8d3be66 100644
--- a/src/client/components/commands/administration/Import.ts
+++ b/src/client/components/commands/administration/Import.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { TextChannel } from 'discord.js';
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import { ReplyOptions } from '../../../../../@types/Wrappers.js';
diff --git a/src/client/components/commands/administration/Logging.ts b/src/client/components/commands/administration/Logging.ts
index 73629a5..877921f 100644
--- a/src/client/components/commands/administration/Logging.ts
+++ b/src/client/components/commands/administration/Logging.ts
@@ -1,4 +1,18 @@
-// const { SettingsCommand } = require('../../../interfaces');
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
import DiscordClient from '../../../DiscordClient.js';
import { SettingsCommand } from '../../../interfaces/index.js';
diff --git a/src/client/components/commands/administration/Moderation.ts b/src/client/components/commands/administration/Moderation.ts
index b43b55d..8bf5d28 100644
--- a/src/client/components/commands/administration/Moderation.ts
+++ b/src/client/components/commands/administration/Moderation.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import DiscordClient from '../../../DiscordClient.js';
import { SettingsCommand } from '../../../interfaces/index.js';
diff --git a/src/client/components/commands/administration/Modstats.ts b/src/client/components/commands/administration/Modstats.ts
index 1ade63f..f9734b2 100644
--- a/src/client/components/commands/administration/Modstats.ts
+++ b/src/client/components/commands/administration/Modstats.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Filter } from 'mongodb';
import { CommandOptionType, CommandParams, InfractionJSON } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/commands/administration/Permissions.ts b/src/client/components/commands/administration/Permissions.ts
index 65d1dd1..6660358 100644
--- a/src/client/components/commands/administration/Permissions.ts
+++ b/src/client/components/commands/administration/Permissions.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { APIEmbed, Collection, EmbedBuilder, GuildBasedChannel, GuildMember, Role, User } from 'discord.js';
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import { ReplyOptions } from '../../../../../@types/Wrappers.js';
diff --git a/src/client/components/commands/administration/Settings.ts b/src/client/components/commands/administration/Settings.ts
index 721cff6..1abacc3 100644
--- a/src/client/components/commands/administration/Settings.ts
+++ b/src/client/components/commands/administration/Settings.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { APIEmbed, APIEmbedField } from 'discord.js';
import { CommandOptionType } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/commands/administration/Utility.ts b/src/client/components/commands/administration/Utility.ts
index db7ccaf..b601204 100644
--- a/src/client/components/commands/administration/Utility.ts
+++ b/src/client/components/commands/administration/Utility.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import DiscordClient from '../../../DiscordClient.js';
import { SettingsCommand } from '../../../interfaces/index.js';
diff --git a/src/client/components/commands/developer/Debug.ts b/src/client/components/commands/developer/Debug.ts
index 6a90749..fd903d3 100644
--- a/src/client/components/commands/developer/Debug.ts
+++ b/src/client/components/commands/developer/Debug.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { Command } from '../../../interfaces/index.js';
diff --git a/src/client/components/commands/developer/Eval.ts b/src/client/components/commands/developer/Eval.ts
index 6308f7b..c1d70ed 100644
--- a/src/client/components/commands/developer/Eval.ts
+++ b/src/client/components/commands/developer/Eval.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { userInfo } from 'os';
import { Util as U, FilterUtil as FU } from '../../../../utilities/index.js';
import { inspect } from 'util';
diff --git a/src/client/components/commands/developer/Stats.ts b/src/client/components/commands/developer/Stats.ts
index bc86574..d5e7098 100644
--- a/src/client/components/commands/developer/Stats.ts
+++ b/src/client/components/commands/developer/Stats.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Client, TextChannel, version } from 'discord.js';
import DiscordClient from '../../../DiscordClient.js';
import SlashCommand from '../../../interfaces/commands/SlashCommand.js';
diff --git a/src/client/components/commands/information/Commands.ts b/src/client/components/commands/information/Commands.ts
index a17ba9d..31876f7 100644
--- a/src/client/components/commands/information/Commands.ts
+++ b/src/client/components/commands/information/Commands.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { APIEmbed, Collection } from 'discord.js';
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/commands/information/Guild.ts b/src/client/components/commands/information/Guild.ts
index fea8dd3..b356255 100644
--- a/src/client/components/commands/information/Guild.ts
+++ b/src/client/components/commands/information/Guild.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { ChannelType, EmbedBuilder } from 'discord.js';
import DiscordClient from '../../../DiscordClient.js';
import SlashCommand from '../../../interfaces/commands/SlashCommand.js';
diff --git a/src/client/components/commands/information/Help.ts b/src/client/components/commands/information/Help.ts
index 2ed8784..a285a8b 100644
--- a/src/client/components/commands/information/Help.ts
+++ b/src/client/components/commands/information/Help.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { EmbedBuilder } from 'discord.js';
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/commands/information/Info.ts b/src/client/components/commands/information/Info.ts
index d719383..7c838f5 100644
--- a/src/client/components/commands/information/Info.ts
+++ b/src/client/components/commands/information/Info.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { APIEmbed, ActivityType, ChannelType, EmbedBuilder, GuildBasedChannel, GuildTextBasedChannel, Role, TextChannel, User } from 'discord.js';
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import Emojis from '../../../../constants/Emojis.js';
diff --git a/src/client/components/commands/information/Privacy.ts b/src/client/components/commands/information/Privacy.ts
index 82dd18b..af558a5 100644
--- a/src/client/components/commands/information/Privacy.ts
+++ b/src/client/components/commands/information/Privacy.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { EmbedBuilder } from 'discord.js';
import DiscordClient from '../../../DiscordClient.js';
import SlashCommand from '../../../interfaces/commands/SlashCommand.js';
diff --git a/src/client/components/commands/moderation/Ban.ts b/src/client/components/commands/moderation/Ban.ts
index 087ebea..b99c9bc 100644
--- a/src/client/components/commands/moderation/Ban.ts
+++ b/src/client/components/commands/moderation/Ban.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { Ban } from '../../../infractions/index.js';
diff --git a/src/client/components/commands/moderation/Case.ts b/src/client/components/commands/moderation/Case.ts
index abea520..9a3919e 100644
--- a/src/client/components/commands/moderation/Case.ts
+++ b/src/client/components/commands/moderation/Case.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import SlashCommand from '../../../interfaces/commands/SlashCommand.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/commands/moderation/Dehoist.ts b/src/client/components/commands/moderation/Dehoist.ts
index 0ebb3e6..713c0b9 100644
--- a/src/client/components/commands/moderation/Dehoist.ts
+++ b/src/client/components/commands/moderation/Dehoist.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { Nickname } from '../../../infractions/index.js';
diff --git a/src/client/components/commands/moderation/Edit.ts b/src/client/components/commands/moderation/Edit.ts
index a1a0c2c..bd98705 100644
--- a/src/client/components/commands/moderation/Edit.ts
+++ b/src/client/components/commands/moderation/Edit.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import Infraction from '../../../interfaces/Infraction.js';
import SlashCommand from '../../../interfaces/commands/SlashCommand.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/commands/moderation/History.ts b/src/client/components/commands/moderation/History.ts
index 5c46fdd..e67a6f5 100644
--- a/src/client/components/commands/moderation/History.ts
+++ b/src/client/components/commands/moderation/History.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import SlashCommand from '../../../interfaces/commands/SlashCommand.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/commands/moderation/Kick.ts b/src/client/components/commands/moderation/Kick.ts
index 151dae3..47c4c3d 100644
--- a/src/client/components/commands/moderation/Kick.ts
+++ b/src/client/components/commands/moderation/Kick.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { Kick } from '../../../infractions/index.js';
diff --git a/src/client/components/commands/moderation/Lockdown.ts b/src/client/components/commands/moderation/Lockdown.ts
index a18e23f..844a5b0 100644
--- a/src/client/components/commands/moderation/Lockdown.ts
+++ b/src/client/components/commands/moderation/Lockdown.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { TextChannel } from 'discord.js';
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/commands/moderation/Modtimers.ts b/src/client/components/commands/moderation/Modtimers.ts
index 76e5c54..5ba8703 100644
--- a/src/client/components/commands/moderation/Modtimers.ts
+++ b/src/client/components/commands/moderation/Modtimers.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import SlashCommand from '../../../interfaces/commands/SlashCommand.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/commands/moderation/Mute.ts b/src/client/components/commands/moderation/Mute.ts
index 8d64ceb..92e3609 100644
--- a/src/client/components/commands/moderation/Mute.ts
+++ b/src/client/components/commands/moderation/Mute.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { Mute } from '../../../infractions/index.js';
diff --git a/src/client/components/commands/moderation/Nickname.ts b/src/client/components/commands/moderation/Nickname.ts
index 65c99e4..6348220 100644
--- a/src/client/components/commands/moderation/Nickname.ts
+++ b/src/client/components/commands/moderation/Nickname.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { Nickname } from '../../../infractions/index.js';
diff --git a/src/client/components/commands/moderation/Note.ts b/src/client/components/commands/moderation/Note.ts
index 06148dd..906031e 100644
--- a/src/client/components/commands/moderation/Note.ts
+++ b/src/client/components/commands/moderation/Note.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { Note } from '../../../infractions/index.js';
diff --git a/src/client/components/commands/moderation/Prune.ts b/src/client/components/commands/moderation/Prune.ts
index 1d0931c..6bcf299 100644
--- a/src/client/components/commands/moderation/Prune.ts
+++ b/src/client/components/commands/moderation/Prune.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { TextChannel } from 'discord.js';
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/commands/moderation/Resolve.ts b/src/client/components/commands/moderation/Resolve.ts
index 8281857..4e8d83c 100644
--- a/src/client/components/commands/moderation/Resolve.ts
+++ b/src/client/components/commands/moderation/Resolve.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import Infraction from '../../../interfaces/Infraction.js';
diff --git a/src/client/components/commands/moderation/Roles.ts b/src/client/components/commands/moderation/Roles.ts
index e6e0a8f..b2c67bb 100644
--- a/src/client/components/commands/moderation/Roles.ts
+++ b/src/client/components/commands/moderation/Roles.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandError, ModerationCommand } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/commands/moderation/Slowmode.ts b/src/client/components/commands/moderation/Slowmode.ts
index 26ecf49..4dc3509 100644
--- a/src/client/components/commands/moderation/Slowmode.ts
+++ b/src/client/components/commands/moderation/Slowmode.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { TextChannel } from 'discord.js';
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/commands/moderation/Softban.ts b/src/client/components/commands/moderation/Softban.ts
index 754c2ac..327748b 100644
--- a/src/client/components/commands/moderation/Softban.ts
+++ b/src/client/components/commands/moderation/Softban.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { Softban } from '../../../infractions/index.js';
diff --git a/src/client/components/commands/moderation/Staff.ts b/src/client/components/commands/moderation/Staff.ts
index 281c0bb..e0e3009 100644
--- a/src/client/components/commands/moderation/Staff.ts
+++ b/src/client/components/commands/moderation/Staff.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { SlashCommand } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/commands/moderation/Unban.ts b/src/client/components/commands/moderation/Unban.ts
index 39f67fb..95322f5 100644
--- a/src/client/components/commands/moderation/Unban.ts
+++ b/src/client/components/commands/moderation/Unban.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { Unban } from '../../../infractions/index.js';
diff --git a/src/client/components/commands/moderation/Unlockdown.ts b/src/client/components/commands/moderation/Unlockdown.ts
index 9888f1b..bb48896 100644
--- a/src/client/components/commands/moderation/Unlockdown.ts
+++ b/src/client/components/commands/moderation/Unlockdown.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { TextChannel } from 'discord.js';
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/commands/moderation/Unmute.ts b/src/client/components/commands/moderation/Unmute.ts
index 4290b0f..47681dd 100644
--- a/src/client/components/commands/moderation/Unmute.ts
+++ b/src/client/components/commands/moderation/Unmute.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { Unmute } from '../../../infractions/index.js';
diff --git a/src/client/components/commands/moderation/Unresolve.ts b/src/client/components/commands/moderation/Unresolve.ts
index 06725ad..46ebc4a 100644
--- a/src/client/components/commands/moderation/Unresolve.ts
+++ b/src/client/components/commands/moderation/Unresolve.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import Infraction from '../../../interfaces/Infraction.js';
import SlashCommand from '../../../interfaces/commands/SlashCommand.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/commands/moderation/Vckick.ts b/src/client/components/commands/moderation/Vckick.ts
index 8d3fa96..8e188c1 100644
--- a/src/client/components/commands/moderation/Vckick.ts
+++ b/src/client/components/commands/moderation/Vckick.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { VcKick } from '../../../infractions/index.js';
diff --git a/src/client/components/commands/moderation/Warn.ts b/src/client/components/commands/moderation/Warn.ts
index 1b58517..5382b0f 100644
--- a/src/client/components/commands/moderation/Warn.ts
+++ b/src/client/components/commands/moderation/Warn.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import DiscordClient from '../../../DiscordClient.js';
import { Warn } from '../../../infractions/index.js';
diff --git a/src/client/components/commands/utility/Avatar.ts b/src/client/components/commands/utility/Avatar.ts
index a6ab676..0d2f8f0 100644
--- a/src/client/components/commands/utility/Avatar.ts
+++ b/src/client/components/commands/utility/Avatar.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { SlashCommand } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/commands/utility/Grantable.ts b/src/client/components/commands/utility/Grantable.ts
index 765f2c3..43755c6 100644
--- a/src/client/components/commands/utility/Grantable.ts
+++ b/src/client/components/commands/utility/Grantable.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { SlashCommand } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/commands/utility/Ping.ts b/src/client/components/commands/utility/Ping.ts
index 544e400..752513e 100644
--- a/src/client/components/commands/utility/Ping.ts
+++ b/src/client/components/commands/utility/Ping.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { SlashCommand } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/commands/utility/Poll.ts b/src/client/components/commands/utility/Poll.ts
index b45fb3e..74fd90f 100644
--- a/src/client/components/commands/utility/Poll.ts
+++ b/src/client/components/commands/utility/Poll.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandError, SlashCommand } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/commands/utility/Remind.ts b/src/client/components/commands/utility/Remind.ts
index 52c29c5..f5f92a4 100644
--- a/src/client/components/commands/utility/Remind.ts
+++ b/src/client/components/commands/utility/Remind.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { SlashCommand } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/commands/utility/Selfrole.ts b/src/client/components/commands/utility/Selfrole.ts
index 58652d0..3aa9d40 100644
--- a/src/client/components/commands/utility/Selfrole.ts
+++ b/src/client/components/commands/utility/Selfrole.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { SlashCommand } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/index.ts b/src/client/components/index.ts
index ac0e243..4725214 100644
--- a/src/client/components/index.ts
+++ b/src/client/components/index.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import Intercom from './Intercom.js';
import LocaleLoader from './LocaleLoader.js';
import EventHooker from './EventHooker.js';
diff --git a/src/client/components/inhibitors/ChannelIgnore.ts b/src/client/components/inhibitors/ChannelIgnore.ts
index dd56b61..d29b1dc 100644
--- a/src/client/components/inhibitors/ChannelIgnore.ts
+++ b/src/client/components/inhibitors/ChannelIgnore.ts
@@ -1,8 +1,23 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Inhibitor } from '../../interfaces/index.js';
import DiscordClient from '../../DiscordClient.js';
import { InvokerWrapper } from '../../components/wrappers/index.js';
-
class ChannelIgnore extends Inhibitor
{
constructor (client: DiscordClient)
diff --git a/src/client/components/inhibitors/ClientPermissions.ts b/src/client/components/inhibitors/ClientPermissions.ts
index 8b9f47f..5b4359e 100644
--- a/src/client/components/inhibitors/ClientPermissions.ts
+++ b/src/client/components/inhibitors/ClientPermissions.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Command, Inhibitor } from '../../interfaces/index.js';
import DiscordClient from '../../DiscordClient.js';
import { InvokerWrapper } from '../../components/wrappers/index.js';
diff --git a/src/client/components/inhibitors/Disabled.ts b/src/client/components/inhibitors/Disabled.ts
index d38d6a1..fe1b143 100644
--- a/src/client/components/inhibitors/Disabled.ts
+++ b/src/client/components/inhibitors/Disabled.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Command, Inhibitor } from '../../interfaces/index.js';
import DiscordClient from '../../DiscordClient.js';
import { InvokerWrapper } from '../../components/wrappers/index.js';
diff --git a/src/client/components/inhibitors/GuildOnly.ts b/src/client/components/inhibitors/GuildOnly.ts
index 9cc63a1..fd634f7 100644
--- a/src/client/components/inhibitors/GuildOnly.ts
+++ b/src/client/components/inhibitors/GuildOnly.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Command, Inhibitor } from '../../interfaces/index.js';
import DiscordClient from '../../DiscordClient.js';
import { InvokerWrapper } from '../../components/wrappers/index.js';
diff --git a/src/client/components/inhibitors/Permissions.ts b/src/client/components/inhibitors/Permissions.ts
index b842a2f..9224e50 100644
--- a/src/client/components/inhibitors/Permissions.ts
+++ b/src/client/components/inhibitors/Permissions.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Command, Inhibitor } from '../../interfaces/index.js';
import DiscordClient from '../../DiscordClient.js';
import { InvokerWrapper } from '../../components/wrappers/index.js';
diff --git a/src/client/components/inhibitors/Restricted.ts b/src/client/components/inhibitors/Restricted.ts
index 94fa2b8..596b8e9 100644
--- a/src/client/components/inhibitors/Restricted.ts
+++ b/src/client/components/inhibitors/Restricted.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Command, Inhibitor } from '../../interfaces/index.js';
import DiscordClient from '../../DiscordClient.js';
import { InvokerWrapper } from '../../components/wrappers/index.js';
diff --git a/src/client/components/inhibitors/Throttle.ts b/src/client/components/inhibitors/Throttle.ts
index 9a4e19f..e611114 100644
--- a/src/client/components/inhibitors/Throttle.ts
+++ b/src/client/components/inhibitors/Throttle.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Command, Inhibitor } from '../../interfaces/index.js';
import DiscordClient from '../../DiscordClient.js';
import { InvokerWrapper } from '../../components/wrappers/index.js';
diff --git a/src/client/components/managers/CallbackManager.ts b/src/client/components/managers/CallbackManager.ts
index f167064..383aa2d 100644
--- a/src/client/components/managers/CallbackManager.ts
+++ b/src/client/components/managers/CallbackManager.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import {
Collection
} from 'discord.js';
diff --git a/src/client/components/managers/ModerationManager.ts b/src/client/components/managers/ModerationManager.ts
index 9db7c12..3d0a4a0 100644
--- a/src/client/components/managers/ModerationManager.ts
+++ b/src/client/components/managers/ModerationManager.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import {
inspect
} from 'node:util';
diff --git a/src/client/components/managers/PollManager.ts b/src/client/components/managers/PollManager.ts
index 306153a..7b27655 100644
--- a/src/client/components/managers/PollManager.ts
+++ b/src/client/components/managers/PollManager.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { TextChannel } from 'discord.js';
import { PollData } from '../../../../@types/Guild.js';
import DiscordClient from '../../DiscordClient.js';
diff --git a/src/client/components/managers/ReminderManager.ts b/src/client/components/managers/ReminderManager.ts
index 2ea0a2d..878cf97 100644
--- a/src/client/components/managers/ReminderManager.ts
+++ b/src/client/components/managers/ReminderManager.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { ReminderData } from '../../../../@types/Guild.js';
import DiscordClient from '../../DiscordClient.js';
import CallbackClient from '../../interfaces/CallbackClient.js';
diff --git a/src/client/components/observers/AuditLog.ts b/src/client/components/observers/AuditLog.ts
index bdc0fff..4eaf5eb 100644
--- a/src/client/components/observers/AuditLog.ts
+++ b/src/client/components/observers/AuditLog.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { AuditLogEvent, User } from 'discord.js';
import DiscordClient from '../../DiscordClient.js';
import { Infraction, Observer } from '../../interfaces/index.js';
diff --git a/src/client/components/observers/Automoderation.ts b/src/client/components/observers/Automoderation.ts
index 357c41f..38a9991 100644
--- a/src/client/components/observers/Automoderation.ts
+++ b/src/client/components/observers/Automoderation.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { APIEmbed, APIEmbedField, ButtonComponentData, ButtonStyle, ComponentType, Interaction, MessageCreateOptions, PermissionsString, TextChannel } from 'discord.js';
import { Ban, Kick, Mute, Softban, Warn } from '../../infractions/index.js';
import Observer from '../../interfaces/Observer.js';
diff --git a/src/client/components/observers/CommandHandler.ts b/src/client/components/observers/CommandHandler.ts
index 62595a7..e2a841f 100644
--- a/src/client/components/observers/CommandHandler.ts
+++ b/src/client/components/observers/CommandHandler.ts
@@ -1,8 +1,18 @@
-// const { EmbedBuilder, Message, ChannelType, ComponentType, ButtonStyle } = require('discord.js');
-// const { Util } = require('../../../utilities');
-// const { InvokerWrapper, MessageWrapper } = require('../../client/wrappers');
-// const { Observer, CommandError, SettingsCommand } = require('../../interfaces/');
-// const { inspect } = require('util');
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
import { EmbedBuilder, Message, ComponentType, ButtonStyle } from 'discord.js';
import Util from '../../../utilities/Util.js';
diff --git a/src/client/components/observers/ErrorLog.ts b/src/client/components/observers/ErrorLog.ts
index edb87c2..fa1acce 100644
--- a/src/client/components/observers/ErrorLog.ts
+++ b/src/client/components/observers/ErrorLog.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { APIEmbed, GuildTextBasedChannel, TextChannel } from 'discord.js';
import { AutomodErrorProps, LinkFilterWarnProps, LogErrorProps, MissingPermsProps, UtilityErrorProps, WordWatcherErrorProps } from '../../../../@types/Moderation.js';
import Util from '../../../utilities/Util.js';
diff --git a/src/client/components/observers/GuildLogging.ts b/src/client/components/observers/GuildLogging.ts
index 1ad3ba0..c5d7727 100644
--- a/src/client/components/observers/GuildLogging.ts
+++ b/src/client/components/observers/GuildLogging.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { APIEmbed, AttachmentBuilder, AuditLogEvent, Collection, GuildMember, GuildTextBasedChannel, Message, TextChannel, WebhookClient } from 'discord.js';
import DiscordClient from '../../DiscordClient.js';
import Observer from '../../interfaces/Observer.js';
diff --git a/src/client/components/observers/Metrics.ts b/src/client/components/observers/Metrics.ts
index 77b0618..711362a 100644
--- a/src/client/components/observers/Metrics.ts
+++ b/src/client/components/observers/Metrics.ts
@@ -1,4 +1,19 @@
-// const { Observer } = require('../../interfaces');
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { APIRequest, ResponseLike } from 'discord.js';
import DiscordClient from '../../DiscordClient.js';
import { Observer } from '../../interfaces/index.js';
diff --git a/src/client/components/observers/UtilityHook.ts b/src/client/components/observers/UtilityHook.ts
index 01022e9..72436bf 100644
--- a/src/client/components/observers/UtilityHook.ts
+++ b/src/client/components/observers/UtilityHook.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { GuildMember, MessageReaction, TextChannel, User } from 'discord.js';
import { ExtendedGuildMember, ExtendedInvite } from '../../../../@types/Client.js';
import Util from '../../../utilities/Util.js';
diff --git a/src/client/components/settings/administration/Commands.ts b/src/client/components/settings/administration/Commands.ts
index 4d90ca3..938ea7a 100644
--- a/src/client/components/settings/administration/Commands.ts
+++ b/src/client/components/settings/administration/Commands.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import { CommandSettings } from '../../../../../@types/Settings.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/settings/administration/IgnoreChannels.ts b/src/client/components/settings/administration/IgnoreChannels.ts
index a80ea59..f1f48eb 100644
--- a/src/client/components/settings/administration/IgnoreChannels.ts
+++ b/src/client/components/settings/administration/IgnoreChannels.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import { IgnoreSettings } from '../../../../../@types/Settings.js';
import Util from '../../../../utilities/Util.js';
diff --git a/src/client/components/settings/administration/Indexing.ts b/src/client/components/settings/administration/Indexing.ts
index 509f9ab..9cbea35 100644
--- a/src/client/components/settings/administration/Indexing.ts
+++ b/src/client/components/settings/administration/Indexing.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import { IndexingSettings } from '../../../../../@types/Settings.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/settings/administration/PermissionType.ts b/src/client/components/settings/administration/PermissionType.ts
index 5df437b..436553e 100644
--- a/src/client/components/settings/administration/PermissionType.ts
+++ b/src/client/components/settings/administration/PermissionType.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandParams } from '../../../../../@types/Client.js';
import { PermissionSettings, PermissionType } from '../../../../../@types/Settings.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/settings/administration/Protection.ts b/src/client/components/settings/administration/Protection.ts
index 2e6e066..414ff0b 100644
--- a/src/client/components/settings/administration/Protection.ts
+++ b/src/client/components/settings/administration/Protection.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams, FormatParams } from '../../../../../@types/Client.js';
import { ProtectionSettings, ProtectionType } from '../../../../../@types/Settings.js';
import Util from '../../../../utilities/Util.js';
diff --git a/src/client/components/settings/administration/Silent.ts b/src/client/components/settings/administration/Silent.ts
index f8b567d..560efb6 100644
--- a/src/client/components/settings/administration/Silent.ts
+++ b/src/client/components/settings/administration/Silent.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import { SilenceSettings } from '../../../../../@types/Settings.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/settings/administration/TextCommands.ts b/src/client/components/settings/administration/TextCommands.ts
index 63f2bf6..35d8e42 100644
--- a/src/client/components/settings/administration/TextCommands.ts
+++ b/src/client/components/settings/administration/TextCommands.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import { TextCommandsSettings } from '../../../../../@types/Settings.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/settings/logging/DmInfraction.ts b/src/client/components/settings/logging/DmInfraction.ts
index 5115208..b0d4534 100644
--- a/src/client/components/settings/logging/DmInfraction.ts
+++ b/src/client/components/settings/logging/DmInfraction.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Setting } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/settings/logging/Errors.ts b/src/client/components/settings/logging/Errors.ts
index bb0567b..984eaa5 100644
--- a/src/client/components/settings/logging/Errors.ts
+++ b/src/client/components/settings/logging/Errors.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Setting } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/settings/logging/Members.ts b/src/client/components/settings/logging/Members.ts
index 797dff5..8c3d0b3 100644
--- a/src/client/components/settings/logging/Members.ts
+++ b/src/client/components/settings/logging/Members.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Setting } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/settings/logging/Messages.ts b/src/client/components/settings/logging/Messages.ts
index 0045fd0..9c79131 100644
--- a/src/client/components/settings/logging/Messages.ts
+++ b/src/client/components/settings/logging/Messages.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandError, Setting } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/settings/logging/Moderation.ts b/src/client/components/settings/logging/Moderation.ts
index e69e7df..c663ab3 100644
--- a/src/client/components/settings/logging/Moderation.ts
+++ b/src/client/components/settings/logging/Moderation.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Setting } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/settings/logging/Nicknames.ts b/src/client/components/settings/logging/Nicknames.ts
index d1f3ad5..67023ff 100644
--- a/src/client/components/settings/logging/Nicknames.ts
+++ b/src/client/components/settings/logging/Nicknames.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Setting } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/settings/logging/Voice.ts b/src/client/components/settings/logging/Voice.ts
index b94e567..1fe8316 100644
--- a/src/client/components/settings/logging/Voice.ts
+++ b/src/client/components/settings/logging/Voice.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Setting } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/settings/moderation/AutoModeration.ts b/src/client/components/settings/moderation/AutoModeration.ts
index a068529..5900ab8 100644
--- a/src/client/components/settings/moderation/AutoModeration.ts
+++ b/src/client/components/settings/moderation/AutoModeration.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams, InfractionType } from '../../../../../@types/Client.js';
import { AutomodSettings } from '../../../../../@types/Settings.js';
import Util from '../../../../utilities/Util.js';
diff --git a/src/client/components/settings/moderation/Grantable.ts b/src/client/components/settings/moderation/Grantable.ts
index b4a159d..556e984 100644
--- a/src/client/components/settings/moderation/Grantable.ts
+++ b/src/client/components/settings/moderation/Grantable.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams, FormatParams } from '../../../../../@types/Client.js';
import { GrantableSettings } from '../../../../../@types/Settings.js';
import Util from '../../../../utilities/Util.js';
diff --git a/src/client/components/settings/moderation/InviteFilter.ts b/src/client/components/settings/moderation/InviteFilter.ts
index 447c482..9cc8d28 100644
--- a/src/client/components/settings/moderation/InviteFilter.ts
+++ b/src/client/components/settings/moderation/InviteFilter.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams, FormatParams, SettingAction, SettingMethod } from '../../../../../@types/Client.js';
import { InviteFilterSettings } from '../../../../../@types/Settings.js';
import { ZeroWidthChar } from '../../../../constants/Constants.js';
diff --git a/src/client/components/settings/moderation/LinkFilter.ts b/src/client/components/settings/moderation/LinkFilter.ts
index 581a978..534fbf3 100644
--- a/src/client/components/settings/moderation/LinkFilter.ts
+++ b/src/client/components/settings/moderation/LinkFilter.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams, FormatParams, SettingAction, SettingMethod } from '../../../../../@types/Client.js';
import { LinkfilterSettings } from '../../../../../@types/Settings.js';
import FilterPresets from '../../../../constants/FilterPresets.js';
diff --git a/src/client/components/settings/moderation/MentionFilter.ts b/src/client/components/settings/moderation/MentionFilter.ts
index a9844f9..d382ecb 100644
--- a/src/client/components/settings/moderation/MentionFilter.ts
+++ b/src/client/components/settings/moderation/MentionFilter.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Role, TextChannel } from 'discord.js';
import { CommandOptionType, CommandParams, FormatParams, SettingAction, SettingMethod } from '../../../../../@types/Client.js';
import { MentionFilterSettings } from '../../../../../@types/Settings.js';
diff --git a/src/client/components/settings/moderation/ModerationPoints.ts b/src/client/components/settings/moderation/ModerationPoints.ts
index 3ddd30e..546598b 100644
--- a/src/client/components/settings/moderation/ModerationPoints.ts
+++ b/src/client/components/settings/moderation/ModerationPoints.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams, InfractionType } from '../../../../../@types/Client.js';
import { ModerationPointsSettings } from '../../../../../@types/Settings.js';
import { ZeroWidthChar } from '../../../../constants/Constants.js';
diff --git a/src/client/components/settings/moderation/Mute.ts b/src/client/components/settings/moderation/Mute.ts
index 0f9aa6f..c3f6d8f 100644
--- a/src/client/components/settings/moderation/Mute.ts
+++ b/src/client/components/settings/moderation/Mute.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { APIEmbed, ChannelType, ComponentType, OverwriteType, Role, TextChannel } from 'discord.js';
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import { MuteSettings } from '../../../../../@types/Settings.js';
diff --git a/src/client/components/settings/moderation/Raidprotection.ts b/src/client/components/settings/moderation/Raidprotection.ts
index 0ede793..b4ff7ba 100644
--- a/src/client/components/settings/moderation/Raidprotection.ts
+++ b/src/client/components/settings/moderation/Raidprotection.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import { RaidprotectionSettings } from '../../../../../@types/Settings.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/settings/moderation/Staff.ts b/src/client/components/settings/moderation/Staff.ts
index 913ab01..11155b4 100644
--- a/src/client/components/settings/moderation/Staff.ts
+++ b/src/client/components/settings/moderation/Staff.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams } from '../../../../../@types/Client.js';
import { StaffSettings } from '../../../../../@types/Settings.js';
import DiscordClient from '../../../DiscordClient.js';
diff --git a/src/client/components/settings/moderation/WordFilter.ts b/src/client/components/settings/moderation/WordFilter.ts
index 7524b42..1081a5a 100644
--- a/src/client/components/settings/moderation/WordFilter.ts
+++ b/src/client/components/settings/moderation/WordFilter.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams, FilterSettingHelperResponse, SettingAction, SettingMethod } from '../../../../../@types/Client.js';
import { WordFilterSettings } from '../../../../../@types/Settings.js';
import { ZeroWidthChar } from '../../../../constants/Constants.js';
diff --git a/src/client/components/settings/moderation/WordWatcher.ts b/src/client/components/settings/moderation/WordWatcher.ts
index b83d0dd..d83e7dc 100644
--- a/src/client/components/settings/moderation/WordWatcher.ts
+++ b/src/client/components/settings/moderation/WordWatcher.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CommandOptionType, CommandParams, SettingAction, SettingMethod } from '../../../../../@types/Client.js';
import { WordWatcherSettings } from '../../../../../@types/Settings.js';
import { ZeroWidthChar } from '../../../../constants/Constants.js';
diff --git a/src/client/components/settings/utility/Autorole.ts b/src/client/components/settings/utility/Autorole.ts
index df3538a..0be2dd0 100644
--- a/src/client/components/settings/utility/Autorole.ts
+++ b/src/client/components/settings/utility/Autorole.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Setting } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/settings/utility/Selfrole.ts b/src/client/components/settings/utility/Selfrole.ts
index 29fee2e..c99dc7b 100644
--- a/src/client/components/settings/utility/Selfrole.ts
+++ b/src/client/components/settings/utility/Selfrole.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Setting } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/settings/utility/StickyRole.ts b/src/client/components/settings/utility/StickyRole.ts
index d5becea..3a94e62 100644
--- a/src/client/components/settings/utility/StickyRole.ts
+++ b/src/client/components/settings/utility/StickyRole.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Setting } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/settings/utility/Welcomer.ts b/src/client/components/settings/utility/Welcomer.ts
index ea31765..a2ff181 100644
--- a/src/client/components/settings/utility/Welcomer.ts
+++ b/src/client/components/settings/utility/Welcomer.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Setting } from '../../../interfaces/index.js';
import DiscordClient from '../../../DiscordClient.js';
import InvokerWrapper from '../../wrappers/InvokerWrapper.js';
diff --git a/src/client/components/wrappers/GuildWrapper.ts b/src/client/components/wrappers/GuildWrapper.ts
index cdbec0b..30474d1 100644
--- a/src/client/components/wrappers/GuildWrapper.ts
+++ b/src/client/components/wrappers/GuildWrapper.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { ChannelResolveable, FormatOpts, FormatParams, MemberResolveable, UserResolveable } from '../../../../@types/Client.js';
import {
ChannelJSON,
@@ -158,7 +174,7 @@ class GuildWrapper
{
await this.#client.mongodb.guilds.updateOne({ guildId: this.id }, { $set: { _version: configVersion, ...data } });
this.#data = { ...this.#data, ...data, _version: configVersion };
- this.#storageLog(`Database update: Data (guild:${this.id})`);
+ this.#storageLog('Database update: Data');
}
catch (error)
{
@@ -374,7 +390,7 @@ class GuildWrapper
#storageLog (log: string)
{
- this.#logger.debug(log);
+ this.debug(log);
}
#storageError (error: Error)
diff --git a/src/client/components/wrappers/InteractionWrapper.ts b/src/client/components/wrappers/InteractionWrapper.ts
index c1fe7ea..a2d99d7 100644
--- a/src/client/components/wrappers/InteractionWrapper.ts
+++ b/src/client/components/wrappers/InteractionWrapper.ts
@@ -1,6 +1,18 @@
-// const { Guild, InteractionType, ApplicationCommandOptionType } = require('discord.js');
-// const { EmbedDefaultColor } = require('../../../constants/Constants.js');
-// const GuildWrapper = require('./GuildWrapper.js');
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
import {
InteractionType,
diff --git a/src/client/components/wrappers/InvokerWrapper.ts b/src/client/components/wrappers/InvokerWrapper.ts
index d7b15c4..a916b9b 100644
--- a/src/client/components/wrappers/InvokerWrapper.ts
+++ b/src/client/components/wrappers/InvokerWrapper.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { EmbedBuilder, ComponentType, Message, InteractionResponse, InteractionDeferReplyOptions, If, GuildMember, Interaction } from 'discord.js';
import { Emojis, Constants } from '../../../constants/index.js';
import MessageWrapper from './MessageWrapper.js';
diff --git a/src/client/components/wrappers/MemberWrapper.ts b/src/client/components/wrappers/MemberWrapper.ts
index 09b0a9e..3bab6e6 100644
--- a/src/client/components/wrappers/MemberWrapper.ts
+++ b/src/client/components/wrappers/MemberWrapper.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { GuildMember, ImageURLOptions, MessageCreateOptions, MessagePayload } from 'discord.js';
import DiscordClient from '../../DiscordClient.js';
import UserWrapper from './UserWrapper.js';
diff --git a/src/client/components/wrappers/MessageWrapper.ts b/src/client/components/wrappers/MessageWrapper.ts
index 57c6b1f..f714cbf 100644
--- a/src/client/components/wrappers/MessageWrapper.ts
+++ b/src/client/components/wrappers/MessageWrapper.ts
@@ -1,5 +1,19 @@
-// eslint-disable-next-line no-unused-vars
-// const GuildWrapper = require("./GuildWrapper");
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { AwaitReactionsOptions, Collection, EmojiIdentifierResolvable, GuildMember, If, Message, MessageEditOptions, MessageReaction, MessageReplyOptions, Snowflake } from 'discord.js';
import DiscordClient from '../../DiscordClient.js';
import GuildWrapper from './GuildWrapper.js';
diff --git a/src/client/components/wrappers/UserWrapper.ts b/src/client/components/wrappers/UserWrapper.ts
index e188f32..cc3bdb1 100644
--- a/src/client/components/wrappers/UserWrapper.ts
+++ b/src/client/components/wrappers/UserWrapper.ts
@@ -1,11 +1,24 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { ImageURLOptions, MessageCreateOptions, MessagePayload, User } from 'discord.js';
import DiscordClient from '../../DiscordClient.js';
import { UserSettings } from '../../../../@types/Settings.js';
-// import GuildWrapper from './GuildWrapper.js';
import { LoggerClient } from '@navy.gif/logger';
-// type Expiry = {points: number, expiration: number, id: string}
-
class UserWrapper
{
#client: DiscordClient;
diff --git a/src/client/components/wrappers/index.ts b/src/client/components/wrappers/index.ts
index a450eb1..dcdd369 100644
--- a/src/client/components/wrappers/index.ts
+++ b/src/client/components/wrappers/index.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import GuildWrapper from './GuildWrapper.js';
import InteractionWrapper from './InteractionWrapper.js';
import UserWrapper from './UserWrapper.js';
diff --git a/src/client/infractions/Addrole.ts b/src/client/infractions/Addrole.ts
index a2f1801..b7290bf 100644
--- a/src/client/infractions/Addrole.ts
+++ b/src/client/infractions/Addrole.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerClient } from '@navy.gif/logger';
import { InfractionTargetType, InfractionType } from '../../../@types/Client.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/infractions/Ban.ts b/src/client/infractions/Ban.ts
index 746cd9a..ff9304e 100644
--- a/src/client/infractions/Ban.ts
+++ b/src/client/infractions/Ban.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerClient } from '@navy.gif/logger';
import { InfractionJSON, InfractionTargetType, InfractionType } from '../../../@types/Client.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/infractions/Kick.ts b/src/client/infractions/Kick.ts
index 601a22f..689d30a 100644
--- a/src/client/infractions/Kick.ts
+++ b/src/client/infractions/Kick.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerClient } from '@navy.gif/logger';
import { InfractionTargetType, InfractionType } from '../../../@types/Client.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/infractions/Lockdown.ts b/src/client/infractions/Lockdown.ts
index b73f39c..c43f90e 100644
--- a/src/client/infractions/Lockdown.ts
+++ b/src/client/infractions/Lockdown.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerClient } from '@navy.gif/logger';
import { InfractionTargetType, InfractionType } from '../../../@types/Client.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/infractions/Mute.ts b/src/client/infractions/Mute.ts
index 7d73193..4b9c91d 100644
--- a/src/client/infractions/Mute.ts
+++ b/src/client/infractions/Mute.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerClient } from '@navy.gif/logger';
import { InfractionJSON, InfractionTargetType, InfractionType } from '../../../@types/Client.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/infractions/Nickname.ts b/src/client/infractions/Nickname.ts
index 1da2c2b..7f21505 100644
--- a/src/client/infractions/Nickname.ts
+++ b/src/client/infractions/Nickname.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import escapeRegex from 'escape-string-regexp';
import { LoggerClient } from '@navy.gif/logger';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/infractions/Note.ts b/src/client/infractions/Note.ts
index 17d6141..018b87f 100644
--- a/src/client/infractions/Note.ts
+++ b/src/client/infractions/Note.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerClient } from '@navy.gif/logger';
import DiscordClient from '../DiscordClient.js';
import { Infraction } from '../interfaces/index.js';
diff --git a/src/client/infractions/Prune.ts b/src/client/infractions/Prune.ts
index 54b2011..e2f9a5e 100644
--- a/src/client/infractions/Prune.ts
+++ b/src/client/infractions/Prune.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
/* eslint-disable @typescript-eslint/no-shadow */
import { Infraction } from '../interfaces/index.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/infractions/Removerole.ts b/src/client/infractions/Removerole.ts
index 94e5f63..02c97b6 100644
--- a/src/client/infractions/Removerole.ts
+++ b/src/client/infractions/Removerole.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Infraction } from '../interfaces/index.js';
import DiscordClient from '../DiscordClient.js';
import { LoggerClient } from '@navy.gif/logger';
diff --git a/src/client/infractions/Slowmode.ts b/src/client/infractions/Slowmode.ts
index efec2f6..82b118e 100644
--- a/src/client/infractions/Slowmode.ts
+++ b/src/client/infractions/Slowmode.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Infraction } from '../interfaces/index.js';
import DiscordClient from '../DiscordClient.js';
import { LoggerClient } from '@navy.gif/logger';
diff --git a/src/client/infractions/Softban.ts b/src/client/infractions/Softban.ts
index d8c55d3..3822ac5 100644
--- a/src/client/infractions/Softban.ts
+++ b/src/client/infractions/Softban.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Infraction } from '../interfaces/index.js';
import DiscordClient from '../DiscordClient.js';
import { LoggerClient } from '@navy.gif/logger';
diff --git a/src/client/infractions/Unban.ts b/src/client/infractions/Unban.ts
index 9c65a73..e3d0127 100644
--- a/src/client/infractions/Unban.ts
+++ b/src/client/infractions/Unban.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Infraction } from '../interfaces/index.js';
import DiscordClient from '../DiscordClient.js';
import { LoggerClient } from '@navy.gif/logger';
diff --git a/src/client/infractions/Unlockdown.ts b/src/client/infractions/Unlockdown.ts
index 633002c..74fcb44 100644
--- a/src/client/infractions/Unlockdown.ts
+++ b/src/client/infractions/Unlockdown.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Infraction } from '../interfaces/index.js';
import DiscordClient from '../DiscordClient.js';
import { LoggerClient } from '@navy.gif/logger';
diff --git a/src/client/infractions/Unmute.ts b/src/client/infractions/Unmute.ts
index 6365d61..bda0ebc 100644
--- a/src/client/infractions/Unmute.ts
+++ b/src/client/infractions/Unmute.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Role, Snowflake } from 'discord.js';
import { Infraction } from '../interfaces/index.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/infractions/Vckick.ts b/src/client/infractions/Vckick.ts
index 9e58818..d1b0f1e 100644
--- a/src/client/infractions/Vckick.ts
+++ b/src/client/infractions/Vckick.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerClient } from '@navy.gif/logger';
import DiscordClient from '../DiscordClient.js';
import { Infraction } from '../interfaces/index.js';
diff --git a/src/client/infractions/Warn.ts b/src/client/infractions/Warn.ts
index d5fef20..aef70f0 100644
--- a/src/client/infractions/Warn.ts
+++ b/src/client/infractions/Warn.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Infraction } from '../interfaces/index.js';
import DiscordClient from '../DiscordClient.js';
import { LoggerClient } from '@navy.gif/logger';
diff --git a/src/client/infractions/index.ts b/src/client/infractions/index.ts
index 380f153..fef0d5c 100644
--- a/src/client/infractions/index.ts
+++ b/src/client/infractions/index.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import Addrole from './Addrole.js';
import Ban from './Ban.js';
import Kick from './Kick.js';
diff --git a/src/client/interfaces/CallbackClient.ts b/src/client/interfaces/CallbackClient.ts
index f056524..71d1e89 100644
--- a/src/client/interfaces/CallbackClient.ts
+++ b/src/client/interfaces/CallbackClient.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
interface CallbackClient
{
handleCallback(id: string, payload: unknown): Promise | void;
diff --git a/src/client/interfaces/CommandError.ts b/src/client/interfaces/CommandError.ts
index f91d6fc..b4c73dd 100644
--- a/src/client/interfaces/CommandError.ts
+++ b/src/client/interfaces/CommandError.ts
@@ -1,5 +1,19 @@
-// eslint-disable-next-line no-unused-vars
-// const InteractionWrapper = require("../client/wrappers/InteractionWrapper");
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { InvokerWrapper } from '../components/wrappers/index.js';
import Command from './commands/Command.js';
diff --git a/src/client/interfaces/CommandOption.ts b/src/client/interfaces/CommandOption.ts
index 2219c7a..8a3ab7d 100644
--- a/src/client/interfaces/CommandOption.ts
+++ b/src/client/interfaces/CommandOption.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
/* eslint-disable camelcase */
import { Util } from '../../utilities/index.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/interfaces/Component.ts b/src/client/interfaces/Component.ts
index 64e3fde..7432640 100644
--- a/src/client/interfaces/Component.ts
+++ b/src/client/interfaces/Component.ts
@@ -1,5 +1,18 @@
-// eslint-disable-next-line no-unused-vars
-// const { DiscordClient } = require("../DiscordClient");
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
import { ComponentOptions, ComponentType } from '../../../@types/Client.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/interfaces/FilterSetting.ts b/src/client/interfaces/FilterSetting.ts
index e34dc4c..8bd8c9f 100644
--- a/src/client/interfaces/FilterSetting.ts
+++ b/src/client/interfaces/FilterSetting.ts
@@ -1,7 +1,18 @@
-// const Setting = require('./Setting.js');
-// const { Util } = require('../../utilities');
-// const { inspect } = require('util');
-// const { EmbedDefaultColor, ZeroWidthChar } = require('../../constants/Constants.js');
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
import { inspect } from 'node:util';
import Setting from './Setting.js';
diff --git a/src/client/interfaces/Infraction.ts b/src/client/interfaces/Infraction.ts
index 76254ef..c5f9e3c 100644
--- a/src/client/interfaces/Infraction.ts
+++ b/src/client/interfaces/Infraction.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { inspect } from 'node:util';
import { LoggerClient } from '@navy.gif/logger';
diff --git a/src/client/interfaces/Inhibitor.ts b/src/client/interfaces/Inhibitor.ts
index 4b8c3a2..8e2a96f 100644
--- a/src/client/interfaces/Inhibitor.ts
+++ b/src/client/interfaces/Inhibitor.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { FormatParams, InhibitorOptions, InhibitorResponse } from '../../../@types/Client.js';
import Util from '../../utilities/Util.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/interfaces/Initialisable.ts b/src/client/interfaces/Initialisable.ts
index c9f6b9e..d0d3f59 100644
--- a/src/client/interfaces/Initialisable.ts
+++ b/src/client/interfaces/Initialisable.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const isInitialisable = (obj: any): obj is Initialisable =>
{
diff --git a/src/client/interfaces/Module.ts b/src/client/interfaces/Module.ts
index 9c4d83e..dace393 100644
--- a/src/client/interfaces/Module.ts
+++ b/src/client/interfaces/Module.ts
@@ -1,3 +1,18 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
import { Collection } from 'discord.js';
import Component from './Component.js';
@@ -5,11 +20,6 @@ import DiscordClient from '../DiscordClient.js';
import { Util } from '../../utilities/index.js';
import { ModuleOptions } from '../../../@types/Client.js';
-// declare interface Module extends Component
-// {
-// get type(): 'module'
-// }
-
class Module extends Component
{
#name: string;
diff --git a/src/client/interfaces/Observer.ts b/src/client/interfaces/Observer.ts
index 413e23e..e8d289b 100644
--- a/src/client/interfaces/Observer.ts
+++ b/src/client/interfaces/Observer.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Hooks, ObserverOptions } from '../../../@types/Client.js';
import { Util } from '../../utilities/index.js';
import DiscordClient from '../DiscordClient.js';
diff --git a/src/client/interfaces/Setting.ts b/src/client/interfaces/Setting.ts
index c47c00c..56b1639 100644
--- a/src/client/interfaces/Setting.ts
+++ b/src/client/interfaces/Setting.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import Component from './Component.js';
import { EmbedBuilder, PermissionsString, TextChannel, APIEmbed, APIEmbedField, User, If } from 'discord.js';
diff --git a/src/client/interfaces/commands/Command.ts b/src/client/interfaces/commands/Command.ts
index ea84074..e5903e7 100644
--- a/src/client/interfaces/commands/Command.ts
+++ b/src/client/interfaces/commands/Command.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerClient } from '@navy.gif/logger';
import { EmbedBuilder, Message, PermissionsString, Snowflake } from 'discord.js';
import Component from '../Component.js';
diff --git a/src/client/interfaces/commands/ModerationCommand.ts b/src/client/interfaces/commands/ModerationCommand.ts
index 476db82..714ba3a 100644
--- a/src/client/interfaces/commands/ModerationCommand.ts
+++ b/src/client/interfaces/commands/ModerationCommand.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
/* eslint-disable max-depth */
import SlashCommand from './SlashCommand.js';
import DiscordClient from '../../DiscordClient.js';
diff --git a/src/client/interfaces/commands/SettingsCommand.ts b/src/client/interfaces/commands/SettingsCommand.ts
index f7c8c2b..48b2039 100644
--- a/src/client/interfaces/commands/SettingsCommand.ts
+++ b/src/client/interfaces/commands/SettingsCommand.ts
@@ -1,4 +1,19 @@
-// const { SlashCommand, CommandOption } = require("../index.js");
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import SlashCommand from './SlashCommand.js';
import CommandOption from '../CommandOption.js';
import { Util } from '../../../utilities/index.js';
diff --git a/src/client/interfaces/commands/SlashCommand.ts b/src/client/interfaces/commands/SlashCommand.ts
index 824e80a..740f767 100644
--- a/src/client/interfaces/commands/SlashCommand.ts
+++ b/src/client/interfaces/commands/SlashCommand.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { SlashCommandOptions } from '../../../../@types/Client.js';
import DiscordClient from '../../DiscordClient.js';
import Command from './Command.js';
diff --git a/src/client/interfaces/index.ts b/src/client/interfaces/index.ts
index e92dcfd..cfaf795 100644
--- a/src/client/interfaces/index.ts
+++ b/src/client/interfaces/index.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import Infraction from './Infraction.js';
import Component from './Component.js';
import Command from './commands/Command.js';
diff --git a/src/client/storage/StorageManager.ts b/src/client/storage/StorageManager.ts
index df3f42e..8963528 100644
--- a/src/client/storage/StorageManager.ts
+++ b/src/client/storage/StorageManager.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerClient } from '@navy.gif/logger';
import path from 'node:path';
import fs from 'node:fs';
@@ -64,20 +80,6 @@ class StorageManager
return `${instance.provider.name.substring(0, 5)}:${instance.name}`;
}
- // _error (info, instance = null)
- // {
- // // TODO: Change logging string to remove [STORA]
- // // this.client.logger.error(`${chalk.bold(`[STORA]`)} ${instance ? `(${this._getName(instance)}) ` : ''}${info}`);
- // this.logger.error(`${instance ? `(${this._getName(instance)}) ` : ''}${info}`);
- // }
-
- // _log (info, instance = null)
- // {
- // // TODO: Change logging string to remove [STORA]
- // // this.client.logger.info(`${chalk.bold(`[STORA]`)} ${instance ? `(${this._getName(instance)}) ` : ''}${info}`);
- // this.#logger.info(`${instance ? `(${this._getName(instance)}) ` : ''}${info}`);
- // }
-
get rootDir ()
{
return this.#client.rootDir;
diff --git a/src/client/storage/interfaces/MariadbTable.ts b/src/client/storage/interfaces/MariadbTable.ts
index 3b10e09..b10fccd 100644
--- a/src/client/storage/interfaces/MariadbTable.ts
+++ b/src/client/storage/interfaces/MariadbTable.ts
@@ -1,5 +1,19 @@
-// import { MariaDBTableOptions } from '../../../@types/Storage';
-// import Provider from './Provider';
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import Table from './Table.js';
class MariadbTable extends Table
diff --git a/src/client/storage/interfaces/MongodbTable.ts b/src/client/storage/interfaces/MongodbTable.ts
index f0790f5..0fc9ed5 100644
--- a/src/client/storage/interfaces/MongodbTable.ts
+++ b/src/client/storage/interfaces/MongodbTable.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import {
AggregateOptions,
BulkWriteOptions,
@@ -15,6 +31,8 @@ import {
} from 'mongodb';
import Table from './Table.js';
+
+const ObjIdReg = /[a-z0-9]{24}/u;
class MongodbTable extends Table
{
// constructor (provider: Provider, opts: MongoDBTableOptions)
@@ -154,7 +172,7 @@ class MongodbTable extends Table
{ // Convert data._id to Mongo ObjectIds
if ('_id' in query && !(query._id instanceof ObjectId))
{
- if (typeof query._id === 'string' && query._id.length === 24)
+ if (typeof query._id === 'string' && ObjIdReg.test(query._id))
{
try
{
diff --git a/src/client/storage/interfaces/Provider.ts b/src/client/storage/interfaces/Provider.ts
index d30b388..f3531d6 100644
--- a/src/client/storage/interfaces/Provider.ts
+++ b/src/client/storage/interfaces/Provider.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import path from 'node:path';
import { LoggerClient } from '@navy.gif/logger';
diff --git a/src/client/storage/interfaces/Table.ts b/src/client/storage/interfaces/Table.ts
index 7b4fecd..6ed7550 100644
--- a/src/client/storage/interfaces/Table.ts
+++ b/src/client/storage/interfaces/Table.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { TableOptions } from '../../../../@types/Storage.js';
import Provider from './Provider.js';
diff --git a/src/client/storage/interfaces/index.ts b/src/client/storage/interfaces/index.ts
index 8a7c49e..ea82380 100644
--- a/src/client/storage/interfaces/index.ts
+++ b/src/client/storage/interfaces/index.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import Provider from './Provider.js';
import MongodbTable from './MongodbTable.js';
import MariadbTable from './MariadbTable.js';
diff --git a/src/client/storage/providers/MariaDBProvider.ts b/src/client/storage/providers/MariaDBProvider.ts
index 5e5a90c..15b681c 100644
--- a/src/client/storage/providers/MariaDBProvider.ts
+++ b/src/client/storage/providers/MariaDBProvider.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { inspect } from 'node:util';
import { Credentials, MariaDBOptions, MariaError } from '../../../../@types/Storage.js';
import DiscordClient from '../../DiscordClient.js';
diff --git a/src/client/storage/providers/MongoDBProvider.ts b/src/client/storage/providers/MongoDBProvider.ts
index 3816c08..c1f5d6a 100644
--- a/src/client/storage/providers/MongoDBProvider.ts
+++ b/src/client/storage/providers/MongoDBProvider.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { CallbackInfo } from '../../../../@types/CallbackManager.js';
import { InfractionJSON } from '../../../../@types/Client.js';
import { AttachmentData, GuildData, GuildPermissions, MessageLogEntry, RoleCacheEntry, WebhookEntry, WordWatcherEntry } from '../../../../@types/Guild.js';
diff --git a/src/client/storage/tables/mariadb/Activity.ts b/src/client/storage/tables/mariadb/Activity.ts
index 460ee44..3c51fa0 100644
--- a/src/client/storage/tables/mariadb/Activity.ts
+++ b/src/client/storage/tables/mariadb/Activity.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import MariadbTable from '../../interfaces/MariadbTable.js';
import MariaDBProvider from '../../providers/MariaDBProvider.js';
diff --git a/src/client/storage/tables/mongodb/Infractions.ts b/src/client/storage/tables/mongodb/Infractions.ts
index 8532c10..dd1010a 100644
--- a/src/client/storage/tables/mongodb/Infractions.ts
+++ b/src/client/storage/tables/mongodb/Infractions.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { MongodbTable, Provider } from '../../interfaces/index.js';
class InfractionsTable extends MongodbTable
diff --git a/src/constants/Commands.ts b/src/constants/Commands.ts
index a48cce1..e0c1568 100644
--- a/src/constants/Commands.ts
+++ b/src/constants/Commands.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
const Commands = {
"ApplicationCommandTypes": {
"CHAT_INPUT": 1,
diff --git a/src/constants/Constants.ts b/src/constants/Constants.ts
index c1b065c..ff1f2ef 100644
--- a/src/constants/Constants.ts
+++ b/src/constants/Constants.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { InfractionType } from "../../@types/Client.js";
const ZeroWidthChar = '\u200b';
diff --git a/src/constants/Emojis.ts b/src/constants/Emojis.ts
index 6444bef..e2fd680 100644
--- a/src/constants/Emojis.ts
+++ b/src/constants/Emojis.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
const Emojis: {[key: string]: string} = {
"success": "<:success:723595130808041512>",
"failure": "<:failure:723595130912637018>",
diff --git a/src/constants/FilterPresets.ts b/src/constants/FilterPresets.ts
index 49738c9..4f2e53b 100644
--- a/src/constants/FilterPresets.ts
+++ b/src/constants/FilterPresets.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
const FilterPresets: {
regex: {
[key: string]: string[]
diff --git a/src/constants/KillItWithFire.ts b/src/constants/KillItWithFire.ts
index 96bb520..500ab63 100644
--- a/src/constants/KillItWithFire.ts
+++ b/src/constants/KillItWithFire.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
const KIWF = {
"0": "0|โช|โ|โฐ|๐ข|๐|๏ผ|๐|๐ฌ|๐ถ",
"1": "โด|โ|โถ|โต|โ |โ|ยน|๐ฃ|๐|๏ผ|๐|๐ญ|๐ท",
diff --git a/src/constants/defaults/DefaultGuild.ts b/src/constants/defaults/DefaultGuild.ts
index 92b67e8..75322a9 100644
--- a/src/constants/defaults/DefaultGuild.ts
+++ b/src/constants/defaults/DefaultGuild.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
const DefaultGuild = {
}
diff --git a/src/constants/defaults/DefaultUser.ts b/src/constants/defaults/DefaultUser.ts
index ef276d5..7853d16 100644
--- a/src/constants/defaults/DefaultUser.ts
+++ b/src/constants/defaults/DefaultUser.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
const DefaultUser = {}
export default DefaultUser
\ No newline at end of file
diff --git a/src/constants/index.ts b/src/constants/index.ts
index 58bf58f..b91c371 100644
--- a/src/constants/index.ts
+++ b/src/constants/index.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import * as Constants from './Constants.js';
import FilterPresets from './FilterPresets.js';
import Emojis from './Emojis.js';
diff --git a/src/middleware/ClientUtils.ts b/src/middleware/ClientUtils.ts
index d0c22a4..e9fdaae 100644
--- a/src/middleware/ClientUtils.ts
+++ b/src/middleware/ClientUtils.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { Util } from '../utilities/index.js';
type Cache = {
diff --git a/src/middleware/Controller.ts b/src/middleware/Controller.ts
index 849c3ce..ec4902a 100644
--- a/src/middleware/Controller.ts
+++ b/src/middleware/Controller.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import {
EventEmitter
} from 'node:events';
diff --git a/src/middleware/Metrics.ts b/src/middleware/Metrics.ts
index 90d1596..d7104c7 100644
--- a/src/middleware/Metrics.ts
+++ b/src/middleware/Metrics.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import BaseClient from './Controller.js';
import os from 'node:os';
import Shard from './Shard.js';
diff --git a/src/middleware/Shard.ts b/src/middleware/Shard.ts
index ee1343a..7aeb234 100644
--- a/src/middleware/Shard.ts
+++ b/src/middleware/Shard.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import EventEmitter from 'node:events';
import path from 'node:path';
import childProcess, { ChildProcess } from 'node:child_process';
diff --git a/src/middleware/SlashCommandManager.ts b/src/middleware/SlashCommandManager.ts
index 9d0e041..de3118c 100644
--- a/src/middleware/SlashCommandManager.ts
+++ b/src/middleware/SlashCommandManager.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { REST } from '@discordjs/rest';
import { Routes } from 'discord-api-types/v9';
import hash from 'object-hash';
diff --git a/src/utilities/BinaryTree.ts b/src/utilities/BinaryTree.ts
index 9c9eb2d..1fda5a1 100644
--- a/src/utilities/BinaryTree.ts
+++ b/src/utilities/BinaryTree.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
/* eslint-disable max-classes-per-file */
import { LoggerClient } from '@navy.gif/logger';
import DiscordClient from '../client/DiscordClient.js';
diff --git a/src/utilities/FilterUtil.ts b/src/utilities/FilterUtil.ts
index 9a3af19..1aec39a 100644
--- a/src/utilities/FilterUtil.ts
+++ b/src/utilities/FilterUtil.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import similarity from 'similarity';
import fs from 'node:fs';
import path from 'node:path';
diff --git a/src/utilities/InfractionMigrator.ts b/src/utilities/InfractionMigrator.ts
index 0f1fb46..061a9ff 100644
--- a/src/utilities/InfractionMigrator.ts
+++ b/src/utilities/InfractionMigrator.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import { LoggerClient } from '@navy.gif/logger';
import MongoDB, { MongoConfig } from './SimpleMongoWrapper.js';
import DiscordClient from '../client/DiscordClient.js';
diff --git a/src/utilities/SettingsMigrator.ts b/src/utilities/SettingsMigrator.ts
index 665370f..848acd8 100644
--- a/src/utilities/SettingsMigrator.ts
+++ b/src/utilities/SettingsMigrator.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
/* eslint-disable no-undefined */
import { LoggerClient } from '@navy.gif/logger';
import DiscordClient from '../client/DiscordClient.js';
diff --git a/src/utilities/SimpleMongoWrapper.ts b/src/utilities/SimpleMongoWrapper.ts
index bff71a0..b2c4f4e 100644
--- a/src/utilities/SimpleMongoWrapper.ts
+++ b/src/utilities/SimpleMongoWrapper.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
// Doesn't replace any of the storage related db management, just a utility class to help with settings migration
import { Db, DbStatsOptions, MongoClient } from 'mongodb';
diff --git a/src/utilities/Util.ts b/src/utilities/Util.ts
index efc6ed9..33c49ce 100644
--- a/src/utilities/Util.ts
+++ b/src/utilities/Util.ts
@@ -1,9 +1,18 @@
-// const moment = require('moment');
-// const humaniseDuration = require('humanize-duration');
-// const path = require('path');
-// const fs = require('fs');
-// const fetch = require('node-fetch');
-// const { escapeMarkdown } = require('discord.js');
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
import moment from 'moment';
import humaniseDuration from 'humanize-duration';
diff --git a/src/utilities/index.ts b/src/utilities/index.ts
index a06e7a7..686691a 100644
--- a/src/utilities/index.ts
+++ b/src/utilities/index.ts
@@ -1,3 +1,19 @@
+// Galactic - Discord moderation bot
+// Copyright (C) 2024 Navy.gif
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
import Util from './Util.js';
import FilterUtil from './FilterUtil.js';