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

slash command implementation #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

slash command implementation #8

wants to merge 1 commit into from

Conversation

DanceMore
Copy link
Owner

No description provided.

let new_pair = ChannelPair {
id: None, // Omitting the id because it's auto-incremented
channel1: channel1.into(),
channel2: channel2,

Check warning

Code scanning / clippy

redundant field names in struct initialization Warning

redundant field names in struct initialization

// TODO: irrefutable_let_patterns, I think all my returns in this need wrapped in Some()
// see also: https://github.com/serenity-rs/serenity/blob/current/examples/e14_slash_commands/src/main.rs
if let content = content {

Check warning

Code scanning / clippy

irrefutable if let pattern Warning

irrefutable if let pattern
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.

1 participant