stripPrefix

Strips any prefixes from the passed string; prefixes being the command prefix, the bot's nickname, or the shorthand with only the first letter of the bot's nickname.

version(WithHelpPlugin)
private
stripPrefix
(,
const string prefixed
)

Parameters

plugin HelpPlugin

The current HelpPlugin.

prefixed string

The prefixed string, to strip the prefix of.

Return Value

Type: auto

The passed prefixed string with any prefixes sliced away.