Skip to content

Commit

Permalink
Removed dependabot, appeased the linter, removed audit and status emb…
Browse files Browse the repository at this point in the history
…ed workflows
  • Loading branch information
Xithrius committed Jul 27, 2024
1 parent 8b1ad3f commit eda2068
Show file tree
Hide file tree
Showing 5 changed files with 4 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.

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 eda2068

Please sign in to comment.