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

feat(bot): Add guildUnavailable event, fixes #3028 #3044

Merged
merged 4 commits into from
Jun 13, 2023

Conversation

AFink
Copy link
Contributor

@AFink AFink commented Jun 2, 2023

Better late than never!

@github-actions github-actions bot added pkg-bot Affects the bot package t-feat A new feature labels Jun 2, 2023
Skillz4Killz
Skillz4Killz previously approved these changes Jun 5, 2023
packages/bot/src/handlers/guilds/GUILD_DELETE.ts Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jun 5, 2023

Benchmark

Detail results of benchmarks
Benchmark suite Base (abfa0bb) Latest Head (151cf59) 2b17097 8cc7483
[transformer] message cache check RSS 115.98 MB ±1% 117.48 MB ±1% 121.07 MB ±1% 117.13 MB ±1%
[transformer] message cache check Heap Used 117.5 MB ±1% 119.29 MB ±1% 116.54 MB ±1% 117.19 MB ±1%
[transformer] message cache check Heap Total 107.41 MB ±1% 106.09 MB ±1% 107.14 MB ±1% 106.88 MB ±1%
[transformer] old message cache check RSS 80.96 MB ±1% 76.54 MB ±1% 84.29 MB ±1%
[transformer] old message cache check Heap Used 101.67 MB ±1% 101.97 MB ±1% 101.24 MB ±1% 101.45 MB ±1%
[transformer] old message cache check Heap Total 80.67 MB ±1% 80.67 MB ±1% 80.4 MB ±1% 82.76 MB ±1%
[Cache Plugin] RSS 0.62 MB ±2.81% 0.61 MB ±2.87% 0.61 MB ±2.89% 0.68 MB ±3%
[Cache Plugin] Heap Used 10.67 MB ±1.44% 10.65 MB ±1.44% 10.73 MB ±1.44% 10.66 MB ±1.44%
[Cache Plugin] Heap Total 0 MB ±0% 0 MB ±0% 0 MB ±0% 0 MB ±0%
rest.simplifyUrl 218176 ops/sec ±0.33% 224502 ops/sec ±0.38% 225371 ops/sec ±0.25% 216886 ops/sec ±0.40%
Camelize 1 event 6212 ops/sec ±0.35% 6358 ops/sec ±0.28% 6514 ops/sec ±0.31% 6061 ops/sec ±0.32%
Snakelize 1 event 6225 ops/sec ±0.35% 6218 ops/sec ±0.32% 6486 ops/sec ±0.79% 5976 ops/sec ±0.36%

@codecov
Copy link

codecov bot commented Jun 5, 2023

Codecov Report

Merging #3044 (151cf59) into main (abfa0bb) will decrease coverage by 0.02%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##             main    #3044      +/-   ##
==========================================
- Coverage   79.03%   79.02%   -0.02%     
==========================================
  Files         181      181              
  Lines       19537    19541       +4     
  Branches      452      452              
==========================================
+ Hits        15441    15442       +1     
- Misses       4090     4093       +3     
  Partials        6        6              
Flag Coverage Δ *Carryforward flag
bot 54.38% <25.00%> (-0.02%) ⬇️ Carriedforward from 2b17097
bot-e2e 54.30% <ø> (ø) Carriedforward from 2b17097
bot-unit 45.69% <25.00%> (-0.02%) ⬇️
discordeno 100.00% <ø> (ø)
discordeno-unit 100.00% <ø> (ø)
gateway 74.26% <ø> (ø)
gateway-integration 74.26% <ø> (ø)
gateway-unit 29.73% <ø> (ø)
rest 87.04% <ø> (ø)
rest-e2e 29.72% <ø> (ø) Carriedforward from 2b17097
rest-unit 72.64% <ø> (ø)
types 100.00% <ø> (ø)
types-unit 100.00% <ø> (ø)
utils 97.73% <ø> (ø)
utils-unit 97.73% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
packages/bot/src/handlers/guilds/GUILD_DELETE.ts 40.00% <0.00%> (-17.15%) ⬇️
packages/bot/src/bot.ts 91.82% <100.00%> (+0.03%) ⬆️

@Skillz4Killz Skillz4Killz added this pull request to the merge queue Jun 13, 2023
Merged via the queue into discordeno:main with commit 0d08c57 Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg-bot Affects the bot package t-feat A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants