command /report [] []: usage: &c/report trigger: if arg 1 is online: if arg 2 is set: if arg 1 is player: send "&c> You can not create a report about Yourself." stop set {_c} to difference between {dbc::reports::cooldown::%player%} and now set {_date} to now if {_c} is less than 30 seconds: send "&c> Please wait before making another report." stop loop {dbc::reported::%player%::*}: if "%loop-value%" = "%arg 1%": send "&c> You already reported this player@" stop add 1 to {dbc::reports::ids} add arg 2 to {dbc::reported::%player%::*} create embed: set the title of embed to title with text ":mailbox: New Report!" set the colour of the embed to RED add field named ":mailbox_with_mail: > %player% reported %arg 1%" to embed add field named ":e_mail: > Reason: %arg 2%" to embed set the thumbnail of embed to "https://images.emojiterra.com/google/android-nougat/512px/26a0.png" set the footer of embed to footer with text "ID: %{dbc::reports::ids}% - %{_date}% - {@IP}" send the last created embed to channel with id "{@CanalReports}" with "{@BotNome}" send "&a> %arg 1% &aSuccesfully reported!" set {dbc::reports::cooldown::%player%} to now else: send "&c> Reason" else: send "&c> Player ofline."