From ba03174ce402e8bea47b79fc6def4c8a041f6e54 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 17 Apr 2020 20:31:15 -0400 Subject: [PATCH] enums dont have to explicity declare the #'s --- src/commands/game.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/commands/game.ts b/src/commands/game.ts index 6404a7e..fded83d 100644 --- a/src/commands/game.ts +++ b/src/commands/game.ts @@ -3,11 +3,11 @@ import { Activity, Member, Message } from 'eris'; import { Client, Command, RichEmbed } from '../class'; enum ActivityType { - PLAYING = 0, - STREAMING = 1, - LISTENING = 2, - WATCHING = 3, - CUSTOM_STATUS = 4 + PLAYING, + STREAMING, + LISTENING, + WATCHING, + CUSTOM_STATUS } export default class Game extends Command {