diff --git a/src/classes/Commands/commands/information/Links.ts b/src/classes/Commands/commands/information/Links.ts new file mode 100644 index 000000000..25faa78ef --- /dev/null +++ b/src/classes/Commands/commands/information/Links.ts @@ -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); + }; +}