mirror of
https://github.com/RGBCube/minearchy-bot
synced 2025-07-27 00:47:44 +00:00
Make stuff work on an ubuntu server
This commit is contained in:
parent
3791f0422e
commit
c74047c442
5 changed files with 14 additions and 4 deletions
|
@ -6,6 +6,6 @@ This is a simple bot made for the [Minearchy Discord](https://discord.gg/2n6T78J
|
|||
|
||||
2: Edit the `config.example.json` to your liking and rename it to `config.json`.
|
||||
|
||||
3: Install dependencies using `pip install -U poetry && poetry install --only main`.
|
||||
3: Install dependencies using `./install`.
|
||||
|
||||
4: Run `python -m minearchy_bot`.
|
||||
4: Run `./start`.
|
||||
|
|
4
install
Executable file
4
install
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
python3 -m pip install -U poetry
|
||||
python3 -m poetry install --only main
|
2
lint
2
lint
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# run unimport
|
||||
unimport ./ --ignore-init --gitignore -r
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tool.poetry]
|
||||
name = "MinearchyBot"
|
||||
name = "minearchy-bot"
|
||||
version = "1.0.0"
|
||||
description = "A simple bot for the Lands of Minearchy Discord server."
|
||||
authors = [ "RGBCube", "The Lands of Minearchy team" ]
|
||||
|
@ -18,6 +18,9 @@ isort = "*"
|
|||
unimport = "*"
|
||||
pyright = "*"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
bot = "minearchy_bot.__main__:__main__"
|
||||
|
||||
[tool.black]
|
||||
line-length = 100
|
||||
preview = true
|
||||
|
|
3
start
Executable file
3
start
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
python3 -m poetry run bot
|
Loading…
Add table
Add a link
Reference in a new issue