Skip to content

Commit

Permalink
noembed
Browse files Browse the repository at this point in the history
  • Loading branch information
stifskere committed Aug 2, 2024
1 parent ae67170 commit 51d89ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/read_github_links.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ async fn read_message(link: String) -> Option<String> {
#[async_trait]
impl EventHandler for ReadGithubLinkHandler {
async fn message(&self, ctx: Context, msg: Message) {
if msg.author.bot {
if msg.author.bot || msg.content.starts_with("noembed") {
return;
}

Expand Down

0 comments on commit 51d89ba

Please sign in to comment.