network-script-data icon indicating copy to clipboard operation
network-script-data copied to clipboard

`/event` Discord Command

Open BehrRiley opened this issue 2 years ago • 0 comments

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

  • [ ] create an announcement for players to join
  • [ ] create a unique role for them to be pinged
  • [ ] listen for users who select theyre interested
  • [ ] give the unique roles to users who join
  • [ ] remove the role for users who change their interest of going
  • [ ] delete the role when the event ends

command syntax:

  • [ ] /event <action:create/edit/cancel> <time:date/duration from now> <title:title message> <location:#vc-channel/#channel/someplace not discord>

or:

  • [ ] /event_create <time:date/duration_from_now> <title:title message> <location:#vc-channel/#channel/someplace not discord>
  • [ ] /event_edit (time:date/duration_from_now) <title:title message> (location:#vc-channel/#channel/someplace not discord)
  • [ ] /event_cancel <title:title message/"List">

Actions:

  • [ ] Create | Creates an event by name at time and place
  • [ ] Edit | Edits an event's name, time, or place
  • [ ] Cancel | Cancels a named event, or "list" to return a drop-down list of active events to cancel

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:

  • 5/2/22 6:30pm - date and time provided
  • 05/02 06:30pm - date and time provided
  • 5/2 18:30pm - date and time provided
  • 3h - three hours from now

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

BehrRiley avatar May 03 '22 01:05 BehrRiley