Skip to content

Commit

Permalink
feat: Add Discord OAuth Flow (#1129)
Browse files Browse the repository at this point in the history
Co-authored-by: koch3092 <108793340+koch3092@users.noreply.github.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 10, 2025
1 parent 837096e commit a4820b7
Show file tree
Hide file tree
Showing 9 changed files with 879 additions and 284 deletions.
2 changes: 1 addition & 1 deletion camel/bots/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========
from .discord_app import DiscordApp
from .discord import DiscordApp
from .slack.models import (
SlackAppMentionEventBody,
SlackAppMentionEventProfile,
Expand Down
26 changes: 26 additions & 0 deletions camel/bots/discord/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========
from .discord_app import DiscordApp
from .discord_installation import DiscordInstallation
from .discord_store import (
DiscordBaseInstallationStore,
DiscordSQLiteInstallationStore,
)

__all__ = [
"DiscordApp",
"DiscordInstallation",
"DiscordSQLiteInstallationStore",
"DiscordBaseInstallationStore",
]
Loading

0 comments on commit a4820b7

Please sign in to comment.