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

KIBA-1774: Create a DiscordClient and use in MessageProcessor #70

Merged
merged 8 commits into from
May 10, 2023

Conversation

Femi-Ogunkola
Copy link
Contributor

@Femi-Ogunkola Femi-Ogunkola commented May 10, 2023

Description

Screenshots:

Checklist:

  • I have updated the CHANGELOG with a summary of my changes

@krishan711 krishan711 changed the title KIBA-1774: Create a DiscordClient (like SlackClient) to send server messages KIBA-1774: Create a DiscordClient and use in MessageProcessor May 10, 2023
CHANGELOG.md Outdated
@@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## [Unreleased]

### Added
- [MAJOR] Added `notification_client.py` abstract class to help send data to multiple platforms
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- [MAJOR] Added `notification_client.py` abstract class to help send data to multiple platforms
- [MAJOR] Added `NotificationClient` abstract class to help send data to multiple platforms

CHANGELOG.md Outdated
@@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## [Unreleased]

### Added
- [MAJOR] Added `notification_client.py` abstract class to help send data to multiple platforms
- [MAJOR] Added `discord_client.py` to send data discord server
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- [MAJOR] Added `discord_client.py` to send data discord server
- [MAJOR] Added `DiscordClient` to send data discord server

CHANGELOG.md Outdated
@@ -8,6 +8,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## [Unreleased]

### Added
- [MAJOR] Added `notification_client.py` abstract class to help send data to multiple platforms
- [MAJOR] Added `discord_client.py` to send data discord server
- [MINOR] Updated `MessageQueueProcessor` to use a list of NotificationClients to send server messages
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- [MINOR] Updated `MessageQueueProcessor` to use a list of NotificationClients to send server messages
- [MINOR] Updated `MessageQueueProcessor` to use a list of `NotificationClients` to send server messages

@@ -13,8 +14,9 @@
from core.exceptions import KibaException
from core.queues.message_queue import MessageQueue
from core.queues.model import Message
from core.slack_client import SlackClient
# from core.slack_client import SlackClient
Copy link
Contributor

Choose a reason for hiding this comment

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

remove

@krishan711 krishan711 merged commit 92827f0 into main May 10, 2023
@krishan711 krishan711 deleted the discord branch May 10, 2023 14:59
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.

2 participants