Skip to content

Commit

Permalink
feat: created link command (#1475)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tolfx committed Jan 18, 2023
1 parent 176cd6e commit 877fee0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/classes/Commands/commands/information/Links.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import SteamID from 'steamid';
import CommandHandler, { ICommand } from '../../CommandHandler';
import Bot from '../../../Bot';
import IPricer from '../../../IPricer';

export default class LinkCommands implements ICommand {
name = 'link';

aliases = ['links'];

description = '';

constructor(
public readonly bot: Bot,
public readonly pricer: IPricer,
public readonly commandHandler: CommandHandler
) {
this.bot = bot;
this.pricer = pricer;
this.commandHandler = commandHandler;
}

execute = (steamID: SteamID, message: string) => {
this.commandHandler.misc.links(steamID);
};
}

0 comments on commit 877fee0

Please sign in to comment.