Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fea: add discord functionality using lua #10

Merged
merged 25 commits into from
May 24, 2024
Merged

Conversation

marco-souza
Copy link
Owner

@marco-souza marco-souza commented May 23, 2024

Changes

  • fea: added golang functions to lua stack
  • ref: env package
  • ref: config package
  • fea: add discord module in go
    • discord.send_message(channel, message): bool
    • discord.is_week_day(): bool
    • discord.auth_url: string
  • enh: link discord module to lua
  • fea: Alt+Entre submits code (ty @rafaellvs)
  • fea: block unauthorized emails

References

discord.send_message(
  "960765222126704202", -- channel id (discord server must be authorized)
  "Olá pooovo, bora voltar com a Daily? ☀️!" -- message
)

Screenshot
image

Next Steps

@vitorschelb
Copy link

Thats a great job Marco! Its gonna be really good for PodCodar! Lets shake this Discord!

@marco-souza marco-souza force-pushed the fea/discord-module branch from be208a1 to 8d9278d Compare May 23, 2024 21:09
- add monaco editor as web component
@marco-souza marco-souza force-pushed the fea/discord-module branch from 8d9278d to d22cfcc Compare May 23, 2024 21:09
Copy link
Owner Author

@marco-souza marco-souza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@marco-souza marco-souza merged commit 68e69c4 into main May 24, 2024
@marco-souza marco-souza deleted the fea/discord-module branch May 24, 2024 18:18
@rafaellvs
Copy link

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants