refactor: change `ChorusUser` new method calls according to changes done
This commit is contained in:
parent
6ef33c01c7
commit
8f995a9f63
|
@ -30,7 +30,6 @@ impl Channel {
|
|||
),
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -61,7 +60,6 @@ impl Channel {
|
|||
&url,
|
||||
None,
|
||||
audit_log_reason.as_deref(),
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(self.id),
|
||||
);
|
||||
|
@ -101,7 +99,6 @@ impl Channel {
|
|||
&url,
|
||||
Some(to_string(&modify_data).unwrap()),
|
||||
audit_log_reason.as_deref(),
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -134,7 +131,6 @@ impl Channel {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
Default::default(),
|
||||
);
|
||||
|
@ -196,7 +192,6 @@ impl Channel {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(self.id),
|
||||
);
|
||||
|
@ -225,7 +220,6 @@ impl Channel {
|
|||
&url,
|
||||
Some(to_string(&schema).unwrap()),
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
|
|
@ -151,7 +151,6 @@ impl Message {
|
|||
.as_str(),
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -182,7 +181,6 @@ impl Message {
|
|||
.as_str(),
|
||||
None,
|
||||
audit_log_reason,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -209,7 +207,6 @@ impl Message {
|
|||
.as_str(),
|
||||
None,
|
||||
audit_log_reason,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -258,7 +255,6 @@ impl Message {
|
|||
.as_str(),
|
||||
Some(to_string(&schema).unwrap()),
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -292,7 +288,6 @@ impl Message {
|
|||
.as_str(),
|
||||
Some(to_string(&schema).unwrap()),
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -321,7 +316,6 @@ impl Message {
|
|||
.as_str(),
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -348,7 +342,6 @@ impl Message {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -382,7 +375,6 @@ impl Message {
|
|||
&url,
|
||||
Some(to_string(&schema).unwrap()),
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -409,7 +401,6 @@ impl Message {
|
|||
&url,
|
||||
None,
|
||||
audit_log_reason.as_deref(),
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -447,7 +438,6 @@ impl Message {
|
|||
.as_str(),
|
||||
Some(to_string(&messages).unwrap()),
|
||||
audit_log_reason.as_deref(),
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
@ -472,7 +462,6 @@ impl Message {
|
|||
.as_str(),
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
|
|
@ -83,7 +83,6 @@ impl types::Channel {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(channel_id),
|
||||
);
|
||||
|
|
|
@ -36,7 +36,6 @@ impl ReactionMeta {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(self.channel_id),
|
||||
);
|
||||
|
@ -65,7 +64,6 @@ impl ReactionMeta {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(self.channel_id),
|
||||
);
|
||||
|
@ -96,7 +94,6 @@ impl ReactionMeta {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(self.channel_id),
|
||||
);
|
||||
|
@ -130,7 +127,6 @@ impl ReactionMeta {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(self.channel_id),
|
||||
);
|
||||
|
@ -159,7 +155,6 @@ impl ReactionMeta {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(self.channel_id),
|
||||
);
|
||||
|
@ -196,7 +191,6 @@ impl ReactionMeta {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Channel(self.channel_id),
|
||||
);
|
||||
|
|
|
@ -220,7 +220,6 @@ impl Guild {
|
|||
.as_str(),
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
@ -246,7 +245,6 @@ impl Guild {
|
|||
.as_str(),
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
@ -279,7 +277,6 @@ impl Guild {
|
|||
.as_str(),
|
||||
None,
|
||||
audit_log_reason.as_deref(),
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
@ -309,7 +306,6 @@ impl Guild {
|
|||
.as_str(),
|
||||
Some(to_string(&schema).unwrap()),
|
||||
audit_log_reason.as_deref(),
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
@ -336,7 +332,6 @@ impl Guild {
|
|||
.as_str(),
|
||||
Some(to_string(&schema).unwrap()),
|
||||
audit_log_reason.as_deref(),
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
@ -362,7 +357,6 @@ impl Guild {
|
|||
.as_str(),
|
||||
Some(to_string(&schema).unwrap()),
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
@ -393,7 +387,6 @@ impl Guild {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
@ -426,7 +419,6 @@ impl Guild {
|
|||
&url,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
@ -456,7 +448,6 @@ impl Guild {
|
|||
.as_str(),
|
||||
Some(to_string(&schema).unwrap()),
|
||||
audit_log_reason.as_deref(),
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
@ -487,7 +478,6 @@ impl Guild {
|
|||
&url,
|
||||
None,
|
||||
audit_log_reason.as_deref(),
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
|
|
@ -188,7 +188,6 @@ impl types::RoleObject {
|
|||
&url,
|
||||
None,
|
||||
audit_log_reason.as_deref(),
|
||||
None,
|
||||
Some(user),
|
||||
LimitType::Guild(guild_id),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue