-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
} |