Skip to content

feat(discord): add dynamic slash commands#277

Merged
ReenigneArcher merged 1 commit intomasterfrom
feat(discord)-add-dynamic-slash-commands
Apr 30, 2024
Merged

feat(discord): add dynamic slash commands#277
ReenigneArcher merged 1 commit intomasterfrom
feat(discord)-add-dynamic-slash-commands

Conversation

@ReenigneArcher
Copy link
Member

@ReenigneArcher ReenigneArcher commented Apr 28, 2024

Description

  • Add dynamic slash commands from LizardByte/support-bot-commands
  • Add git to docker image
  • Update docker image to python:3.11-slim-bookworm
  • Add gitattributes file for handling line endings on dockerfiles

Todo:

  • allow git repo to be customized
  • allow git branch to be customized
  • reload this cog on a schedule

Screenshot

Issues Fixed or Closed

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update (updates to dependencies)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files, e.g. .github/...)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

Branch Updates

LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.

  • I want maintainers to keep my branch updated

@codecov
Copy link

codecov bot commented Apr 28, 2024

Codecov Report

Attention: Patch coverage is 87.01299% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 37.86%. Comparing base (a19e9a6) to head (eed370e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #277      +/-   ##
==========================================
+ Coverage   33.63%   37.86%   +4.23%     
==========================================
  Files          15       15              
  Lines         785      853      +68     
==========================================
+ Hits          264      323      +59     
- Misses        521      530       +9     
Files Coverage Δ
src/reddit/bot.py 54.01% <100.00%> (-1.24%) ⬇️
src/common.py 95.83% <87.50%> (-4.17%) ⬇️
src/discord/cogs/support_commands.py 83.13% <86.76%> (+12.54%) ⬆️

@ReenigneArcher ReenigneArcher force-pushed the feat(discord)-add-dynamic-slash-commands branch 7 times, most recently from eb5da13 to aa861fa Compare April 30, 2024 02:33
@ReenigneArcher ReenigneArcher force-pushed the feat(discord)-add-dynamic-slash-commands branch from aa861fa to eed370e Compare April 30, 2024 17:29
@ReenigneArcher ReenigneArcher marked this pull request as ready for review April 30, 2024 17:29
@ReenigneArcher ReenigneArcher merged commit ad71781 into master Apr 30, 2024
@ReenigneArcher ReenigneArcher deleted the feat(discord)-add-dynamic-slash-commands branch April 30, 2024 17:32
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.

1 participant