Remove guild ids.
This commit is contained in:
+2
-5
@@ -1,6 +1,4 @@
|
||||
"""
|
||||
Contains various utlity functions for highscores bot
|
||||
"""
|
||||
"""Contains various utility functions for highscores bot."""
|
||||
|
||||
import time
|
||||
|
||||
@@ -14,12 +12,11 @@ from database_setup.sql_data_classes import Category, CategoryGroup, Guild, Scor
|
||||
|
||||
MAX_LINE_LENGTH = 142
|
||||
|
||||
GUILDS = [1000247361639030804]
|
||||
|
||||
|
||||
def autofill_categories(guild_id: int, group_id: int, category_begin: str) -> "dict[str, str]":
|
||||
"""
|
||||
Returns all category names that start with category_begin.
|
||||
|
||||
If category_begin is empty, returns list of all category names.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user