Adriftus-Studios / network-script-data

Public, open-source repository of Adriftus Studios' Minecraft network. Powered by Denizen Script.
https://discord.gg/adriftus
19 stars 12 forks source link

`/event` Discord Command #379

Open BehrRiley opened 2 years ago

BehrRiley commented 2 years ago

an event command for creating new events, editing existing events, or canceling events command would:

command syntax:

or:

Actions:

Time: a specific time in a (m)m/(d)d(/(yy)yy) (h)h:(m)m am/pm format; also takes a duration from now, examples:

referenced timezone to be determined? we have the user's locale here::arrow_down: and a reference of where their locale is but idk, maybe also include EST / a few "normal" timezones https://discord.com/developers/docs/resources/user#users-resource

Title: just a very short descriptive title

Description: a description of the event

Location: a tab-complete for voice channels, text channels, or just some named location


guild event docs: https://discord.com/developers/docs/resources/guild-scheduled-event


template message: sent to: 626101030513410073 ( #:exclamation:announcements ) content message: <[link]> example: https://discord.gg/{something}?event={some_id_here} example: https://discord.gg/88Mvd5jh?event=970394941320749096 this part of the message can't be embedded into a markdown link yet due to a bug returning it as an invalid link

embed: title: Event: <[title]> example: Event: Party In Eutherines Basement description: <[description]>

:alarm_clock: When?: <t:<[epoch_time]> :alarm_clock: How long from now?: <t:<[epoch_time]>:R>

[Here's the répondez s'il vous plaît](<[link]>)


/alert <role:role to alert> (message:message to inform users role'd up)/(update) - i don't know if there's actually an event to listen for when players actually join or leave the event, but we can check on a timer or just check when we go to use the role with an actual command