refactor: change `ChorusUser` new method calls according to changes done

This commit is contained in:
xystrive 2024-07-04 19:09:28 +01:00
parent 6ef33c01c7
commit 8f995a9f63
6 changed files with 0 additions and 35 deletions

View File

@ -30,7 +30,6 @@ impl Channel {
), ),
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -61,7 +60,6 @@ impl Channel {
&url, &url,
None, None,
audit_log_reason.as_deref(), audit_log_reason.as_deref(),
None,
Some(user), Some(user),
LimitType::Channel(self.id), LimitType::Channel(self.id),
); );
@ -101,7 +99,6 @@ impl Channel {
&url, &url,
Some(to_string(&modify_data).unwrap()), Some(to_string(&modify_data).unwrap()),
audit_log_reason.as_deref(), audit_log_reason.as_deref(),
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -134,7 +131,6 @@ impl Channel {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
Default::default(), Default::default(),
); );
@ -196,7 +192,6 @@ impl Channel {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(self.id), LimitType::Channel(self.id),
); );
@ -225,7 +220,6 @@ impl Channel {
&url, &url,
Some(to_string(&schema).unwrap()), Some(to_string(&schema).unwrap()),
None, None,
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );

View File

@ -151,7 +151,6 @@ impl Message {
.as_str(), .as_str(),
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -182,7 +181,6 @@ impl Message {
.as_str(), .as_str(),
None, None,
audit_log_reason, audit_log_reason,
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -209,7 +207,6 @@ impl Message {
.as_str(), .as_str(),
None, None,
audit_log_reason, audit_log_reason,
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -258,7 +255,6 @@ impl Message {
.as_str(), .as_str(),
Some(to_string(&schema).unwrap()), Some(to_string(&schema).unwrap()),
None, None,
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -292,7 +288,6 @@ impl Message {
.as_str(), .as_str(),
Some(to_string(&schema).unwrap()), Some(to_string(&schema).unwrap()),
None, None,
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -321,7 +316,6 @@ impl Message {
.as_str(), .as_str(),
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -348,7 +342,6 @@ impl Message {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -382,7 +375,6 @@ impl Message {
&url, &url,
Some(to_string(&schema).unwrap()), Some(to_string(&schema).unwrap()),
None, None,
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -409,7 +401,6 @@ impl Message {
&url, &url,
None, None,
audit_log_reason.as_deref(), audit_log_reason.as_deref(),
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -447,7 +438,6 @@ impl Message {
.as_str(), .as_str(),
Some(to_string(&messages).unwrap()), Some(to_string(&messages).unwrap()),
audit_log_reason.as_deref(), audit_log_reason.as_deref(),
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );
@ -472,7 +462,6 @@ impl Message {
.as_str(), .as_str(),
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );

View File

@ -83,7 +83,6 @@ impl types::Channel {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(channel_id), LimitType::Channel(channel_id),
); );

View File

@ -36,7 +36,6 @@ impl ReactionMeta {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(self.channel_id), LimitType::Channel(self.channel_id),
); );
@ -65,7 +64,6 @@ impl ReactionMeta {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(self.channel_id), LimitType::Channel(self.channel_id),
); );
@ -96,7 +94,6 @@ impl ReactionMeta {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(self.channel_id), LimitType::Channel(self.channel_id),
); );
@ -130,7 +127,6 @@ impl ReactionMeta {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(self.channel_id), LimitType::Channel(self.channel_id),
); );
@ -159,7 +155,6 @@ impl ReactionMeta {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(self.channel_id), LimitType::Channel(self.channel_id),
); );
@ -196,7 +191,6 @@ impl ReactionMeta {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Channel(self.channel_id), LimitType::Channel(self.channel_id),
); );

View File

@ -220,7 +220,6 @@ impl Guild {
.as_str(), .as_str(),
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );
@ -246,7 +245,6 @@ impl Guild {
.as_str(), .as_str(),
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );
@ -279,7 +277,6 @@ impl Guild {
.as_str(), .as_str(),
None, None,
audit_log_reason.as_deref(), audit_log_reason.as_deref(),
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );
@ -309,7 +306,6 @@ impl Guild {
.as_str(), .as_str(),
Some(to_string(&schema).unwrap()), Some(to_string(&schema).unwrap()),
audit_log_reason.as_deref(), audit_log_reason.as_deref(),
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );
@ -336,7 +332,6 @@ impl Guild {
.as_str(), .as_str(),
Some(to_string(&schema).unwrap()), Some(to_string(&schema).unwrap()),
audit_log_reason.as_deref(), audit_log_reason.as_deref(),
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );
@ -362,7 +357,6 @@ impl Guild {
.as_str(), .as_str(),
Some(to_string(&schema).unwrap()), Some(to_string(&schema).unwrap()),
None, None,
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );
@ -393,7 +387,6 @@ impl Guild {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );
@ -426,7 +419,6 @@ impl Guild {
&url, &url,
None, None,
None, None,
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );
@ -456,7 +448,6 @@ impl Guild {
.as_str(), .as_str(),
Some(to_string(&schema).unwrap()), Some(to_string(&schema).unwrap()),
audit_log_reason.as_deref(), audit_log_reason.as_deref(),
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );
@ -487,7 +478,6 @@ impl Guild {
&url, &url,
None, None,
audit_log_reason.as_deref(), audit_log_reason.as_deref(),
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );

View File

@ -188,7 +188,6 @@ impl types::RoleObject {
&url, &url,
None, None,
audit_log_reason.as_deref(), audit_log_reason.as_deref(),
None,
Some(user), Some(user),
LimitType::Guild(guild_id), LimitType::Guild(guild_id),
); );