tgoins / natsuki

All-in-one Discord bot for gaming-oriented servers, that combines all the features of the most popular bots into one, making your Discord server more professional.
1 stars 0 forks source link

Allow the user to create custom commands. #6

Open tgoins opened 6 years ago

tgoins commented 6 years ago

Will first need a web interface.

The user should be able to create commands that when entered, will repeat something.

For example, /ip might be a custom command a server has set up to announce their server's IP. Entering the command may make the bot say "The IP is 10.10.10.10"

The custom command should allow different variables, entered using either a mustache {{var_here}} or a single pair {another_var}

Variables might include: {{user}}: The user that enters the command. {{server}}: The name of the current server. {{channel}}: The channel the user entered the command in.

It should also have more complex variables like: {{#<channel>}}: Adds another channel to the message, example {{#general}} {{&<role>}}: Adds a role mention to the message, example {{&Owner}} {{@<user>}} Adds a user mention to the message, example {{@Joker#3650}}

The commands should also be able to have actions, like: {{delete}}: Auto deletes the user's message {{respond #<channel>}} Makes the message send to a different channel. As well as actions to modify roles And should be able to call other commands