Skip to content

Commit 74ab9f6

Browse files
committed
Remove 25+ snippet warning
The max amount of snippets you can see on autocomplete/choices at once is 25, this is a limit by discord but you can still access the snippets by actively searching for them, or by using the list snippets command
1 parent e501d29 commit 74ab9f6

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/commands/snippets.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,6 @@ pub async fn create_snippet(
8888
rwlock_guard.snippets.push(snippet);
8989
rwlock_guard.write();
9090

91-
if rwlock_guard.snippets.len() > 25 {
92-
embed = embed.field(
93-
"Warning",
94-
"There are more than 25 snippets, some may not appear in the snippet list.",
95-
false,
96-
);
97-
}
98-
9991
embed
10092
};
10193

0 commit comments

Comments
 (0)