Free-Nations-Region / CyborgianStates

A (Discord-) Bot for all needs of a Region in NationStates
MIT License
0 stars 1 forks source link

Discord message handler #58

Closed drehtisch closed 3 years ago

drehtisch commented 4 years ago

Description

Enable the bot to receive messages via Discord

How Has This Been Tested?

Manually via Discord and Unit Tests.

Types of changes

Checklist:

codecov[bot] commented 4 years ago

Codecov Report

Merging #58 (107dfa5) into Rel4.0 (ea8b07c) will increase coverage by 2.47%. The diff coverage is 88.08%.

Impacted file tree graph

@@            Coverage Diff             @@
##           Rel4.0      #58      +/-   ##
==========================================
+ Coverage   82.85%   85.33%   +2.47%     
==========================================
  Files          22       24       +2     
  Lines         665      866     +201     
  Branches       72       97      +25     
==========================================
+ Hits          551      739     +188     
- Misses        112      121       +9     
- Partials        2        6       +4     
Impacted Files Coverage Δ
CyborgianStates/Commands/NationStatsCommand.cs 0.00% <0.00%> (ø)
CyborgianStates/Launcher.cs 63.63% <0.00%> (-36.37%) :arrow_down:
...ianStates/MessageHandling/ConsoleMessageHandler.cs 96.15% <50.00%> (-0.15%) :arrow_down:
CyborgianStates/Program.cs 95.29% <82.60%> (-4.71%) :arrow_down:
CyborgianStates/Services/BotService.cs 98.59% <93.33%> (ø)
...ianStates/MessageHandling/DiscordMessageHandler.cs 95.74% <95.74%> (ø)
...ianStates/MessageHandling/DiscordMessageChannel.cs 97.67% <97.67%> (ø)
...tes/CommandHandling/NationStatesApiRequestQueue.cs 100.00% <100.00%> (ø)
CyborgianStates/Commands/PingCommand.cs 100.00% <100.00%> (ø)
CyborgianStates/Helpers.cs 100.00% <100.00%> (ø)
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ea8b07c...3d61b5b. Read the comment docs.