Skip to content

Commit

Permalink
fix(bot): remove unused random
Browse files Browse the repository at this point in the history
  • Loading branch information
schmooky committed Sep 4, 2019
1 parent 96c9cb9 commit ed54b46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/Bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import BotMediaPlayer from './BotMediaPlayer';
import BotConsoleReader from './BotConsoleReader';
import BotCommandMap from './BotCommandMap';
import { ParsedMessage, parse } from './BotCommandParser';
import { embedPing } from './BotEmbed';

import logger from '../utils/logger';

Expand All @@ -30,8 +31,6 @@ import skip from '../api/skip';
import time from '../api/time';
import volume from '../api/volume';

const random = (array: string[]): string => array[Math.floor(Math.random() * array.length)];

class YBot implements Bot {
public client: Client;

Expand Down
1 change: 1 addition & 0 deletions src/core/BotEmbed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,5 @@ export {
embedList,
embedHelp,
embedMultipleTracksAdded,
embedPing,
};

0 comments on commit ed54b46

Please sign in to comment.