Bot Commands/FAQ/BotPrefix

FAQ: What is a prefix?
Bots usually responds to commands that begin with a so called prefix. Command Syntax Description A prefix can consist of a letter, number, or symbol, or a combination of these kind of characters.
 * i.help prefix (to display this help text)

Some bots even allow you to set a custom prefix instead of the default bot prefix.

All bot commands for the Idle Treasure Hunt game begin with i. and this is the default prefix.

Why the need for a prefix? If bots did not have any prefix to respond to, then all different bots would have to process things that have nothing to do with their specific functionality. In other words, if the Idle Treasure Hunt game bot did not use a prefix for its commands, it would react to mostly everything and would not understand plain text messages meant for other players. This would lead to players getting spammed with error messages from the game bot whenever it could not recognize something. So a prefix is necessary in order to distinguish whether a command is actually being directed to the game bot or not. Back to

Topics
ITH Site Map | Bot Commands | FAQ | What is a prefix?