-
Notifications
You must be signed in to change notification settings - Fork 0
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
🦖 チャンネルIDをプログラムにベタ書きするのをやめる #33
Comments
引数に渡された名前 (名前のリスト) に該当するテキストチャンネルのリストを返す関数を実装する。 実装イメージ
|
IF 予定 def get_channels(ctx: commands.Context, names: list[str], channel_type: Optional[discord.ChannelType] = None): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
今思えばTCのチャンネルIDがわかれば外部からでもメッセージ送れてしまう気がするので、ID直書きしているものは環境変数に変えようかな。そのうち
The text was updated successfully, but these errors were encountered: