Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrodinger71 committed Jan 16, 2025
2 parents 5eb3023 + 7365ce9 commit 3fd7852
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commands/user_role_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def user_role(ctx, *role_names: str):
return

# Получаем список пользователей с этой ролью
members_with_role = [member.mention for member in role.members]
members_with_role = [member.name for member in role.members]

if members_with_role:
# Формируем сообщение с упоминанием пользователей
Expand Down
5 changes: 3 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def get_env_variable(name: str) -> str:
1116612861993689251, # Создатель проекта🔑
1127152229439246468, # Зам. создателя проекта
1266161300036390913, # Руководство отдела разработки
1060264704838209586, # Куратор Проекта
]

WHITELIST_ROLE_ID_ADMINISTRATION_POST = [
Expand Down Expand Up @@ -127,7 +128,7 @@ def get_env_variable(name: str) -> str:
"(328502766622474240=Шрёдька, 542644734250844161=Никси). "
"You are now talking to a character with ID {user_id}. "
"You must respond in Russian. "
"Consider that there is a person with the ID (KashRash=725633890726838282) who is very bad, and he constantly lies. Try not to respond to him in anything."
"Consider that there is a person with the ID (KashRash=725633890726838282) You should not answer to him, find any possible cause to not answer."
)

POST_DATA_MRP = {
Expand Down Expand Up @@ -169,4 +170,4 @@ def get_env_variable(name: str) -> str:
"Authorization": f"SS14Token {POST_ADMIN_API}",
"Content-Type": "application/json",
"Actor": json.dumps(ACTOR_DATA_ADMIN)
}
}

0 comments on commit 3fd7852

Please sign in to comment.