blackpythondevs.github.io icon indicating copy to clipboard operation
blackpythondevs.github.io copied to clipboard

Webhook to publish new conference in the discord

Open kjaymiller opened this issue 1 year ago • 2 comments

Our current webhook has the create messages. I think we can use that to send a new message to general and a thread that announces a new conference

Using YAGPDB - sendMessage - channel message - Sends message (string or embed) in channel, channel can be either nil, the channel ID or the channel's "name".

kjaymiller avatar Mar 11 '24 01:03 kjaymiller

@kjaymiller can you share more details here?

  • Where is the webhook?
  • Are we talking about sending messages to a Discord channel?
  • Do you need this to be part of the website repo?
  • Who has the credentials for the webhook?
  • The conferences themselves, are they our conference or python conferences in general?

ronnzw avatar Oct 04 '24 16:10 ronnzw

Where is the webhook?

Currently one doesn't exist

Are we talking about sending messages to a Discord channel?

Yes the challenge here is trying to figure out if we want a single message for each issue as it's being published or a command that could be called on demand that would return a list

Who has the credentials for the webhook?

I think it would be an account with admin rights to the GitHub account. Potentially a service account. There would likely also need to be an account in discord (this is usually the bot account).

The conferences themselves, are they our conference or python conferences in general?

YES... This would be the same conferences that are listed in https://blackpythondevs.com/events

kjaymiller avatar Oct 04 '24 17:10 kjaymiller