initial commit
This commit is contained in:
parent
a6dc08df80
commit
918f370562
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "namebot"
|
name = "didgeridoo"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["kageru <kageru@encode.moe>"]
|
authors = ["kageru <kageru@encode.moe>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# DIDgeridoo
|
||||||
|
A bot for people with dissociative identity disorder.
|
||||||
|
Currently only does and logs name changes.
|
|
@ -21,7 +21,7 @@ impl EventHandler for Handler {
|
||||||
fn guild_ban_addition(&self, ctx: Context, guild_id: GuildId, _: User) {
|
fn guild_ban_addition(&self, ctx: Context, guild_id: GuildId, _: User) {
|
||||||
if guild_id == 427456811973738498 {
|
if guild_id == 427456811973738498 {
|
||||||
if let Err(e) =
|
if let Err(e) =
|
||||||
ChannelId(562731470423064587).say(&ctx, "Das hier ist eine flauschige Diktatur!")
|
ChannelId(562731470423064587).say(&ctx, "Dies ist eine flauschige Diktatur!")
|
||||||
{
|
{
|
||||||
eprintln!("Couldn’t send message because {:?}", e);
|
eprintln!("Couldn’t send message because {:?}", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user