Skip to content

Commit

Permalink
0.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeroji committed Feb 5, 2017
1 parent b66446c commit 01a40d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Change Log
All notable changes to this project will be documented in this file.

### [[Unreleased](https://github.com/Zeroji/semicolon/releases/latest)]
### [[v0.2.0](https://github.com/Zeroji/semicolon/releases/tag/v0.2.0)]

#### Added

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## ;;

> v0.1.4
> v0.2.0
This is the repository for the *new* version of `;;`,
a nice Discord bot with currently very few features.
Expand All @@ -17,7 +17,7 @@ Edit `config.yaml` if you need to, or create another config file
> Alternatively, you can run `./install.py` for a minimalistic setup
To run the bot, type `./core.py` or `./core.py -c your_config.yaml`
Since [v0.1.1](https://github.com/Zeroji/semicolon/releases/tag/v0.1.1) you'll need Python 3.6 - currently, 3.6.0b4 is available.
Since [v0.1.1](https://github.com/Zeroji/semicolon/releases/tag/v0.1.1) you'll need Python 3.6.

#### How to use (Discord side)

Expand All @@ -28,7 +28,7 @@ Since multiple bots may use the `;` prefix, you can also mention `;;` instead of
`@;; cog.command arguments`. You can also change the prefix to your liking if you have
the `Manage Server` permission, check `@;; help prefix`.

#### Fancy new stuff in last version
#### Fancy ways to use commands

`;;` can now interpret commands inside other messages, if you use a "breaker" character.
This character defaults to `|` and can be changed with the `breaker` command.
Expand Down
4 changes: 2 additions & 2 deletions doc/cogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def hello(author):
As you can see, simply putting `author` in the function definition will give you the corresponding object.
Why? Because `;;` is made in such a way that it'll look at what you want,
and attempt to provide it to you so you don't need to write extra pieces of code.
Here's a list of those "special" arguments: *(as of [v0.1.4](https://github.com/Zeroji/semicolon/releases/tag/v0.1.4))*
Here's a list of those "special" arguments: *(as of [v0.2.0](https://github.com/Zeroji/semicolon/releases/tag/v0.2.0))*

|Argument | Description
| --- | ---
Expand Down Expand Up @@ -138,7 +138,7 @@ def add(number_a, number_b):
```

> *May change in future versions (last changed [v0.1.1](https://github.com/Zeroji/semicolon/releases/tag/v0.1.1))*
If the user doesn't provide the arguments you need, for example if they type `add 4`, `;;` will print `Invalid argument count` in the chat, and your command won't be executed.
If the user doesn't provide the arguments you need, for example if they type `add 4`, `;;` will print an error message in the chat, and your command won't be executed.
If the user sends too many arguments, for example by typing `add 1 2 3`, the same thing will happen.

Now what if you'd like to have default arguments? Let's say you want `add` to add 1 if `number_b` isn't specified:
Expand Down

0 comments on commit 01a40d4

Please sign in to comment.