Skip to content

Instantly share code, notes, and snippets.

@BetterProgramming
Created March 23, 2020 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BetterProgramming/90986ff7195244d955f3cf80798f48bd to your computer and use it in GitHub Desktop.
Save BetterProgramming/90986ff7195244d955f3cf80798f48bd to your computer and use it in GitHub Desktop.
// src/main.rs
use serenity::{
prelude::*,
model::prelude::*,
Client,
};
struct Handler;
impl EventHandler for Handler {
fn message(&self, context: Context, msg: Message) {
unimplemented!();
}
}
fn main() {
let mut client = Client::new("<token>", Handler).expect("Couldn't create the new client!");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment