Skip to content

Commit

Permalink
Update kangalioo -> serenity-rs and fix typos
Browse files Browse the repository at this point in the history
Changes extracted from the pre-force-push #140 (6c082b5...1bac198)
  • Loading branch information
kangalio committed Apr 20, 2023
1 parent 1c7a5a7 commit 4874056
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 21 deletions.
16 changes: 2 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
authors = ["kangalioo <[email protected]>"]
authors = ["kangalio <[email protected]>"]
edition = "2018"
name = "poise"
version = "0.5.2"
rust-version = "1.60.0"
description = "A Discord bot framework for serenity"
license = "MIT"
repository = "https://github.com/kangalioo/poise/"
repository = "https://github.com/serenity-rs/poise/"

[dependencies]
tokio = { version = "1.21.1", default-features = false } # for async in general
Expand All @@ -23,20 +23,8 @@ parking_lot = "0.12.1"
[dependencies.serenity]
default-features = false
features = ["builder", "client", "gateway", "model", "utils", "collector"]

version = "0.11.5"

# git = "https://github.com/serenity-rs/serenity"
# branch = "current"

# git = "https://github.com/serenity-rs/serenity"
# rev = "2bb9a01bfccd0485ccb7e9f20cce8edff7426eb3"

# git = "https://github.com/kangalioo/serenity"
# branch = "poise-tailored"

# path = "../_downloaded/serenity"

[dev-dependencies]
# For the examples
tokio = { version = "1.21.1", features = ["rt-multi-thread"] }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build](https://img.shields.io/github/actions/workflow/status/kangalioo/poise/ci.yml?branch=develop)](https://kangalioo.github.io/poise/)
[![Build](https://img.shields.io/github/actions/workflow/status/serenity-rs/poise/ci.yml?branch=develop)](https://serenity-rs.github.io/poise/)
[![crates.io](https://img.shields.io/crates/v/poise.svg)](https://crates.io/crates/poise)
[![Docs](https://img.shields.io/badge/docs-online-informational)](https://docs.rs/poise/)
[![Docs (git)](https://img.shields.io/badge/docs%20%28git%29-online-informational)](https://serenity-rs.github.io/poise/)
Expand Down
4 changes: 2 additions & 2 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "poise_macros"
version = "0.5.2" # remember to update the version
authors = ["kangalioo <[email protected]>"]
authors = ["kangalio <[email protected]>"]
edition = "2018"
description = "Internal macro implementation crate of poise"
license = "MIT"
repository = "https://github.com/kangalioo/poise/"
repository = "https://github.com/serenity-rs/poise/"

[lib]
proc-macro = true
Expand Down
4 changes: 2 additions & 2 deletions release-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Release guide:
Behavior changes:
- ...
Detailed changelog: https://github.com/kangalioo/poise/compare/v0.2.2...v0.3.0
Detailed changelog: https://github.com/serenity-rs/poise/compare/v0.2.2...v0.3.0
```
- Push version bump commit
- Add changelog to CHANGELOG.md
Expand All @@ -23,4 +23,4 @@ Release guide:
- Update macros dependency version in /Cargo.toml
- Add version tag with `git tag v0.3.0` and `git push origin --tags`
- Make GitHub release based on new tag
- Release on crates.io with `cargo publish`, first in /macros, then in root
- Release on crates.io with `cargo publish`, first in /macros, then in root
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ async fn my_huge_ass_command(
fn my_huge_ass_command_help() -> String {
String::from("\
Example usage:
~my_huge_ass_command 127.0.0.1 @kangalioo `i = i + 1` my_flag rest of the message")
~my_huge_ass_command 127.0.0.1 @kangalio `i = i + 1` my_flag rest of the message")
}
async fn check(ctx: Context<'_>) -> Result<bool, Error> {
Expand Down
2 changes: 1 addition & 1 deletion src/slash_argument/context_menu.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Contains a simple trai, implemented for all context meun command compatible parameter types
//! Contains a simple trait, implemented for all context menu command compatible parameter types
use crate::serenity_prelude as serenity;
use crate::BoxFuture;

Expand Down

0 comments on commit 4874056

Please sign in to comment.