dayzeroteam / dayzeroteam/dayzero_bot

Place functions within their own files.

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Rust
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

It's a good idea to separate out functions into bins or buckets of similar other code. This will allow us to keep the project more organized as time goes on.

Responsibilities of this task are simple:
1. Create a directory and file structure to support the project moving forward.
2. Break the functions in `main.rs` out into the newly created directories and files.
3. Import the functions into the `main.rs` file so they can still be used

This task may seem daunting but it's not as difficult as it sounds, here's an example:
[Serenity Bot Structure Example](https://github.com/serenity-rs/serenity/tree/current/examples/e06_sample_bot_structure)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.