Skip to content

Commit

Permalink
Dependabot -> renovate, removed some workflows, appeased the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Xithrius committed Jul 27, 2024
1 parent 8b1ad3f commit 0530bff
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 108 deletions.
12 changes: 0 additions & 12 deletions .github/dependabot.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/audit.yml

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/status_embed.yml

This file was deleted.

7 changes: 7 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"prHourlyLimit": 0,
"commitBodyTable": true,
"rebaseWhen": "behind-base-branch"
}
2 changes: 1 addition & 1 deletion src/emotes/downloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ pub async fn get_twitch_emote(name: &str) -> Result<()> {

let res = if res.is_err() {
client
.get(&url.replace("animated", "static"))
.get(url.replace("animated", "static"))
.send()
.await?
.error_for_status()
Expand Down
6 changes: 3 additions & 3 deletions src/handlers/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl App {
self.components.chat.scroll_offset.jump_to(0);
}

pub fn purge_user_messages(&mut self, user_id: &str) {
pub fn purge_user_messages(&self, user_id: &str) {
let messages = self
.messages
.borrow_mut()
Expand All @@ -190,7 +190,7 @@ impl App {
self.messages.replace(messages);
}

pub fn remove_message_with(&mut self, message_id: &str) {
pub fn remove_message_with(&self, message_id: &str) {
let index = self
.messages
.borrow_mut()
Expand All @@ -217,7 +217,7 @@ impl App {
}

#[allow(dead_code)]
pub fn rotate_theme(&mut self) {
pub fn rotate_theme(&self) {
todo!("Rotate through different themes")
}
}

0 comments on commit 0530bff

Please sign in to comment.