Skip to content

Commit

Permalink
updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
skrphenix committed Jun 12, 2023
1 parent 86977ac commit acb3b0e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 230 deletions.
52 changes: 0 additions & 52 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,58 +61,6 @@ These IDE(s) made things a lot easier for us:
Follow the instructions provided in `README.md` file in each of the database directories.
`Like: economy with SQLITE3`

( or )

Follow the below steps one-by-one, after setting up everything you can run the bot
using the code in **Step-4** directly later on.

**Step-1:** clone the repository

```shell
git clone https://github.com/Modern-Realm/economy-bot-discord.py
```

For [discord.py](https://github.com/Rapptz/discord.py) users, clone using this command

```shell
git clone --single-branch -b alpha https://github.com/Modern-Realm/economy-bot-discord.py
```

**Step-2:** install dependencies

```shell
python -m pip install -r requirements.txt
```

**Step-3:** set the default database

```shell
py . set {database}
```

**Step-4:** run the bot

```shell
py . run
```

**Note:** if you want to delete other database directories, then use below code.
Except the database you provided all other database directories will be deleted.

```shell
py . use {database} {force}
```

`force` - takes either `Y` or `N`. if `Y`, it will not ask you before deleting the other database dirs

`database` - takes values (sqlite, aiosqlite, mysql, mongodb)

use below code for more details

```shell
py .
```

<hr/>

## List of Bot Commands
Expand Down
174 changes: 0 additions & 174 deletions __main__.py

This file was deleted.

2 changes: 1 addition & 1 deletion economy with MYSQL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pip install -r requirements.txt

# Provide the secret keys/values in `.env` file

# run the main.py file
# Running the bot

```sh
python main.py
Expand Down
2 changes: 1 addition & 1 deletion economy with SQLITE3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pip install -r requirements.txt

# Provide the secret keys/values in `.env` file

# run the main.py file
# Running the bot

```sh
python main.py
Expand Down
2 changes: 1 addition & 1 deletion economy with aiosqlite/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pip install -r requirements.txt

# Provide the secret keys/values in `.env` file

# run the main.py file
# Running the bot

```sh
python main.py
Expand Down
2 changes: 1 addition & 1 deletion economy with mongoDB/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pip install -r requirements.txt

# Provide the secret keys/values in `.env` file

# run the main.py file
# Running the bot

```sh
python main.py
Expand Down

0 comments on commit acb3b0e

Please sign in to comment.