-
Notifications
You must be signed in to change notification settings - Fork 3
Commands and Syntax
Prodosia can recognize commands issued to it through Imgur comments and Discord messages. In both cases there needs to be a corresponding Tracker or the command is ignored.
(see also: Setting up the prefix)
Each command starts with a prefix. This prefix can be set up by the user itself. Everything before the prefix is completely ignored. The prefix tells the application that a command is going to follow.
The default prefix for Imgur is @Tagaroo
The default prefix for Discord will be the username of the bot.
The prefix must be separate from a sentence:
- YES:
prepended_comment @Tagaroo arguments
(prepended_commentis ignored) - YES:
@Tagaroo arguments - NO:
prepended_comment@Tagaroo arguments
After the prefix the actual command that must be executed should be issued. By default the following commands are available:
-
getlist
Retrieve a.txtlist for (a) specified taglist(s) -
getuser
Retrieve information regarding a user. -
sub
Subscribe a user to (a) specified taglist(s) -
suball
Subscribe multiple users to (an) aforementioned taglist(s) -
tag
Tag a post ; mention users from a taglist on the specified Imgur post. -
unsub
Unsubscribe a user from (a) specified taglist(s) -
unsuball
Unsubscribe multiple users from (an) aforementioned taglist(s)
The command needs to be separate from its arguments. In some cases it needs to be separate from the command prefix as well.
For example:
- For
"@Tagaroo "(with a space at the end) the command needs to be separate
YES:prepended_comment @Tagaroo command arguments
NO:prepended_comment @Tagaroocommand arguments - For
"!"(without a space at the end) the command does not need to be separate
YES:prepended_comment ! command arguments
YES:prepended_comment !command arguments
Anything after the command will be arguments for said command. If you are unsure how to use a command, please look at its respective wiki page.