Archived
0
0
Fork 0

style: reformatted code a lil bit

This commit is contained in:
Daryl Ronningen 2021-06-20 04:52:18 -07:00
parent 727ac245ff
commit d57e14a3af
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
4 changed files with 11 additions and 4 deletions

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EslintConfiguration">
<option name="fix-on-save" value="true" />
</component>
</project>

View file

@ -19,12 +19,12 @@ import type { ICommandOptions } from '@utils/types';
export default abstract class Command {
public readonly client: Client;
public readonly options: ICommandOptions
public readonly options: ICommandOptions;
public constructor(client: Client, options: ICommandOptions) {
this.client = client;
this.options = options;
}
public abstract run(message: Message, ...args:string[]): void;
public abstract run(message: Message, ...args: string[]): void;
}

View file

@ -27,7 +27,7 @@ let warnLevel = false;
let errorLevel = false;
let fatalLevel = false;
switch ((config.get('logLevel') as string).toLowerCase()) {
switch ((config.get('logLevel') as string).toLowerCase()) {
case 'verbose':
verboseLevel = true;
debugLevel = true;

View file

@ -14,6 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with ArgonBot. If not, see <https: //www.gnu.org/licenses/>.
*/
//Enums
export enum ELoggingScope {
Startup = 'STARTUP',