fix(doc): fix broken link in readme

This commit is contained in:
Romain J 2020-06-07 18:45:50 +02:00
parent a73d408462
commit 85da8a34ab
2 changed files with 6 additions and 6 deletions

View file

@ -22,7 +22,7 @@ It is preferable to install the bot on a dedicated user. If you don't know how t
sudo pacman -Syu python python-pip python-virtualenv git sudo pacman -Syu python python-pip python-virtualenv git
``` ```
Continue to [installing Tuxbot](#installing-tuxbot). Continue to [create the venv](#creating-the-virtual-environnement).
----- -----
@ -33,7 +33,7 @@ sudo apt update
sudo apt -y install python3 python3-dev python3-pip python3-venv git sudo apt -y install python3 python3-dev python3-pip python3-venv git
``` ```
Continue to [installing Tuxbot](#installing-tuxbot). Continue to [create the venv](#creating-the-virtual-environnement).
----- -----
@ -42,7 +42,7 @@ Continue to [installing Tuxbot](#installing-tuxbot).
*go to hell* *go to hell*
## Installing Tuxbot ## Creating the Virtual Environnement
To set up the virtual environnement and install the bot, simply run this two commands: To set up the virtual environnement and install the bot, simply run this two commands:

View file

@ -6,11 +6,11 @@ from tuxbot.core import checks
from tuxbot.core.bot import Tux from tuxbot.core.bot import Tux
from tuxbot.core.i18n import Translator from tuxbot.core.i18n import Translator
log = logging.getLogger("tuxbot.cogs.anti_raid") log = logging.getLogger("tuxbot.cogs.admin")
T_ = Translator("AntiRaid", __file__) T_ = Translator("Admin", __file__)
class AntiRaid(commands.Cog, name="AntiRaid"): class Admin(commands.Cog, name="Admin"):
def __init__(self, bot: Tux): def __init__(self, bot: Tux):
self.bot = bot self.bot = bot