cleanup
This commit is contained in:
@@ -11,6 +11,7 @@ async def get_channel_by_name(bot: discord.Bot, channel: str,
|
||||
guild: int | None = None) -> Optional[Any]: # Optional[Any] used as pycord channel types can be ambigious
|
||||
"""
|
||||
Get Channel by Name
|
||||
|
||||
Args:
|
||||
bot (discord.Bot)
|
||||
channel (str)
|
||||
@@ -37,6 +38,7 @@ async def send_message(bot: discord.Bot, channel: str,
|
||||
"""
|
||||
Send Message to the provided channel. If guild is provided, will limit to channels within that guild to ensure the correct
|
||||
channel is selected. Useful in the event a channel exists in more than one guild that the bot resides in.
|
||||
|
||||
Args:
|
||||
bot (discord.Bot)
|
||||
channel (str)
|
||||
|
Reference in New Issue
Block a user