Discord Bot Maker

Discord Bot Maker

Not enough ratings
Report Command [Outdated]
By Jodie
This Command Reports your specific User that did something wrong!
This is a Guide for this "Report Command"
   
Award
Favorite
Favorited
Unfavorite
What does the Report Command?
The Report Command do send a message to a private Channel that you have to create that only can you see or Moderator's, Admin's, Supporter's and you.

[[b]The Raw Data in german language is the last down below![/b]
How to create the Report Command?
At first you have to create 10 "Template Actions" !
Create a Channel
You have to create a Channel where you only can read it and the bot can write.

Name it "report-log"

[In Server, rightclick on the left side where text-channels are and then "create channel" "text-channel" and then activate "private channel" and activate your only one role and the bot's role and then press "create channel".]
Find Channnel
Search in Channel Control > Find Channel
put in the Search Value : report-log
change the Source Field to Channel Name
let the Temp Variable as it is already!
put in the Variable Name: report-c
Done,now press Edit Action and it should look like this

Check Parameters
2nd Action:
Now come to "ask" Action.
Search in "Conditions" > "Check Parameters"
Choose in the "Condition" : "Number of Parameter is..."
Change the "Comparison" to "="
Put in the "Number:" "2"
Change the "If True:" to "Skip Next Actions" and besides, "Number of Action to Skip", Put in "3"
Change the "If False" to "Continue Actions"
Done, now press "Edit Action" and it should look like this

Send Message
3rd Action:
Let the "Send to" as it is!
Put in the "Message:" > "Dont forget to put in a Member that you want to report and the reason!"
Let the "Store In" as it is!
Done, now press "Edit Action" and it should look like this

Delete Message
4th Action:
Search in "Messaging" for "Delete Message" and leave it as it is!
Done, now press "Edit Action" and it should look like this!

End Action Sequence
5th Action:
Search in "Other Stuff" and take "End Action Sequence"
Done, now press "Edit Action" and there's nothing in it soo no preview needed xD

Store Command Params
6th Action:
Search in "Other Stuff" and take "Store Command Params"
Change the "Source Info" into "Mentioned Member"
Put in the "Member Mention Number:" "1"
Let the "Temp Variable" as it is and besides the "Variable Name:", put in "user"
Done, now press "Edit Action" and it should look like this

Store Command Params
7th Action:
Search in "Other Stuff" and take "Store Command Params"
Let the "Source Info" as it is!
Put in the "Parameter Number:" "2"
Let the "Temp Variable" as it is!
Put in the "Variable Name:" "reason"
Done, now press "Edit Action" and it should look like this

Send Message
8th Action:
Change the "Send To" into "Temp Variable"
Put in the "Variable Name" "report-c"
Put in the "Message"
**${member}** reported a User!

Reported User: **${tempVars("user")}**
Reason: **${tempVars("reason")}**

Done, now press "Edit Action" and it should look like this!

Send Message
9th Action:
Change the "Send To" to "Command Author"
Put in the "Message:"
Your Report has been send succesfully!
Someone takes care as fast as they can around your report!

Done, now press "Edit Action" and it should look like that!

Delete Message
10th Action:
Search in "Messaging" for "Delete Message" and leave it as it is!
Done, now press "Edit Action" and it should look like this!

Full Actionlist
When you're completely done, it should look like that, the actionlist.

Raw Data Code [German][für faule Leute!]
{"name":"report","permissions":"NONE","restriction":"1","actions":[{"info":"1","find":"report-log","storage":"1","varName":"report-c","name":"Find Channel"},{"condition":"0","comparison":"0","value":"2","iftrue":"3","iftrueVal":"3","iffalse":"0","iffalseVal":"","name":"Check Parameters"},{"channel":"0","varName":"","message":"Gebe einen *Grund* ab und erwähne einen *Benutzer*!","storage":"0","varName2":"","name":"Send Message"},{"storage":"0","varName":"","name":"Delete Message"},{"name":"End Action Sequence"},{"info":"2","infoIndex":"1","storage":"1","varName":"user","name":"Store Command Params"},{"info":"0","infoIndex":"2","storage":"1","varName":"reason","name":"Store Command Params"},{"channel":"5","varName":"report-c","message":"**${member}** hat einen Benutzer gemeldet!\n\nGemeldeter Benutzer: **${tempVars(\"user\")}**\nGrund: **${tempVars(\"reason\")}**\n","storage":"0","varName2":"","name":"Send Message"},{"channel":"1","varName":"","message":"Deine Meldung wurde erfolgreich abgeschickt!\nJemand kümmert sich so schnell wie es geht um deine Meldung!","storage":"0","varName2":"","name":"Send Message"},{"storage":"0","varName":"","name":"Delete Message"}]}
Raw Data Code [English][for lazy guys!]
{"name":"report","permissions":"NONE","restriction":"1","actions":[{"info":"1","find":"report-log","storage":"1","varName":"report-c","name":"Find Channel"},{"condition":"0","comparison":"0","value":"2","iftrue":"3","iftrueVal":"3","iffalse":"0","iffalseVal":"","name":"Check Parameters"},{"channel":"0","varName":"","message":"Dont forget to put in a Member that you want to report and the reason!","storage":"0","varName2":"","name":"Send Message"},{"storage":"0","varName":"","name":"Delete Message"},{"name":"End Action Sequence"},{"info":"2","infoIndex":"1","storage":"1","varName":"user","name":"Store Command Params"},{"info":"0","infoIndex":"2","storage":"1","varName":"reason","name":"Store Command Params"},{"channel":"5","varName":"report-c","message":"**${member}** reported a User!\n\nReported User: **${tempVars(\"user\")}**\nReason: **${tempVars(\"reason\")}**\n","storage":"0","varName2":"","name":"Send Message"},{"channel":"1","varName":"","message":"Your Report has been send succesfully!\nSomeone takes care as fast as they can around your report!","storage":"0","varName2":"","name":"Send Message"},{"storage":"0","varName":"","name":"Delete Message"}]}
What are doing the Actions?
1st Action: Finds a Channel by Name and trigger it when they become a shoutout!

2nd Action: Ask if these Parameters are true, when true, it skip's, when false, it continue's.

3rd Action: Send a important message when false.

4th Action: Delete the Command Message

5th Action: Stops the hole Sequence at position.

6th Action: Store a Parameter "Mentioned User".

7th Action: Store an another Parameter "the reason".

8th Action: Send's a message to the private channel.

9th Action: Send's a message to the Author for verification.

10th Action: Delete the Command Message
Made by EliteArtz #iksdee [advertising]
Easy Report Command Made by EliteArtz #iksdee

~Love EliteArtz #iksdee

Here I am!
YouTube
Steam Account
Steam Group
Discord-Server[discord.me]
5 Comments
crackereater 26 Apr, 2020 @ 3:17pm 
How do i choose where the reports are sent
wyattwolf2 21 Mar, 2020 @ 7:31pm 
==============IMPORTANT NOTICE==============

In order to solve the issue where the command only allows for a single message,

-----------------------
FIRST:
-----------------------
Edit Action #2 by setting the number of parameters to "1" and comparison to ">"
-----------------------
SECOND:
-----------------------
Edit Action #7 by setting the Source Info to "Multiple Parameters" and the second value "Starting From Parameter Number" to "2"
-----------------------

This works as of 3/21/2020 (no beta or mods)
if this works thank great if it doesn't mega oof, works for me
foxxxxie 9 Jan, 2019 @ 3:38am 
allows only for single message to en send i want to send pms whit reports to my staff not channel how can this be done ideas?
Sibercat 18 Oct, 2017 @ 12:27am 
it doesn't seem to like spaces in the report - tried with V1.3.0-Beta5
Jodie  [author] 12 Oct, 2017 @ 11:28am 
Sorry if my English isn't good!
Im not born in USA / UK and im currently also learning in school english!