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

Code duplication #24

Open
github-actions bot opened this issue Sep 24, 2021 · 0 comments
Open

Code duplication #24

github-actions bot opened this issue Sep 24, 2021 · 0 comments

Comments

@github-actions
Copy link

Code duplication

Go to src.bot.bot_commands has a similar method, do we want to keep both?

# TODO: Code duplication

import discord.utils


# TODO: Code duplication
# labels: duplication
# Go to src.bot.bot_commands has a similar method, do we want to keep both?
async def message_to_channel(ctx: Context, message: str, incoming_channel: str) -> None:
    """Directs a message out to a specific channel. Use None as channel to reply where the command was submitted"""
    if incoming_channel != None:

9fce823bb72c26a7f8c001b9df2899a9bf4a7b12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants