Skip to content

Commit

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

export default class HelpCommand implements ICommand {
name = 'help';

description = 'Shows all available commands';

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

execute = (steamID: SteamID, message: string) => {
const isAdmin = this.bot.isAdmin(steamID);
const isCustomPricer = this.bot.pricelist.isUseCustomPricer;
};
}

0 comments on commit 1f26a2e

Please sign in to comment.