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

Rewrite bot with typescript #5

Open
wants to merge 75 commits into
base: master
Choose a base branch
from
Open

Rewrite bot with typescript #5

wants to merge 75 commits into from

Conversation

lucasvsouza28
Copy link
Collaborator

@lucasvsouza28 lucasvsouza28 commented May 20, 2022

Rewrite bot with typescript

To enhance dev experience, get better intellisense and better code organization i've rewrited the codebase with typescript.

Changelog

Added

  • Typescript support
  • Updated discordjs version
  • Migrate commands to new Discord Slash Commands API
  • /img search to search for an image on Google Images
  • /img create to create a custom SlashCommand that returns an image
  • /img edit to edit a custom image command
  • /img delete to delete a custom image command
  • /img list to list custom image commands
  • BOT_CLIENTID env var (used to manipulate SlashCommands via Discord API)

Removed

  • BOT_PREFIX env var
  • Files used to create commands with BOT_PREFIX
  • .help: this command has been removed because the SlashCommands are self explanatory (IMO)
  • .leave, .resume, .pause: forgotten commands

Changed

  • Bot activated via SlashCommands, no more "." commands

image

@lucasvsouza28 lucasvsouza28 changed the title [WIP] Rewrite bot with typescript Rewrite bot with typescript May 27, 2022
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.

None yet

1 participant