Skip to content

Commit

Permalink
fix typing error + add ephemeral to delete message
Browse files Browse the repository at this point in the history
  • Loading branch information
gylfirst committed Mar 29, 2024
1 parent f31e6f9 commit ced2d8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ python main.py
### Docker
[![Docker Image](https://github.com/Zalk0/ChouetteBot-discord/actions/workflows/docker-image.yml/badge.svg?branch=main)](https://github.com/Zalk0/ChouetteBot-discord/actions/workflows/docker-image.yml)

You can use the docker image to deploy the bot. It currently supports adm64 and armv6 architectures. We provide deployement informations on the docker hub repository.
You can use the docker image to deploy the bot. It's currently supporting amd64 and armv6 architectures. We provide deployement informations on the docker hub repository.

[Docker Hub](https://hub.docker.com/r/gylfirst/chouettebot)
2 changes: 1 addition & 1 deletion commands/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ def is_msg(msg: discord.Message) -> bool:
return (message.id >> 22) <= (msg.id >> 22) <= (last_id >> 22)

del_msg = await message.channel.purge(bulk=True, reason="Admin used bulk delete", check=is_msg)
await interaction.followup.send(f"{len(del_msg)} messages supprimés !")
await interaction.followup.send(f"{len(del_msg)} messages supprimés !", ephemeral=True, delete_after=5)
2 changes: 1 addition & 1 deletion docker-compose.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
env_file: /path/to/.env # Path to your .env file

ports: # Expose port for web service
- "8081:8081" # Exposed port:Inner port
- "8080:8080" # Exposed port:Inner port
volumes:
- /path/to/logs:/usr/src/chouettebot/logs # Path to logs

Expand Down

0 comments on commit ced2d8a

Please sign in to comment.