Giter Club home page Giter Club logo

a_fobot's Introduction

a_foBOT

Discord Bot app open for quick extensions with an automated way of testing, and deploying image for the DockerHub.

This project can be run with any cloud service that is allowing to handle environment variables.. those variables had to be injected during the process of building container.

  • DISCORD_TOKEN=YOUR_TOKEN_HERE - this is your discord access token
  • SECRET_KEY=YOUR_KEY_HERE - this is your key for calling simple user level interface

In order to launch this project locally (Windows) we can use command:

docker run -d -e DISCORD_TOKEN=$env:DISCORD_TOKEN -e SECRET_KEY=$env:SECRET_KEY a_fobot:latest

Of course before executing anything.. we have have to set those variables in system...

Secret Menu

Secret Menu is allowing us to control some of the bot options from the user level.

Common way:

0123456789 - entering your secret key like that is going to call option menu.

0123456789 0 1 - this format is allowing us to set value of the option number 0 to True which is going to enable that feature.

Hidden way:

Users that are not on the white list are not going to be able to execute any of the command, but anyway we can hide our code in the spoiler tag to prevent them from getting that code before message is going to get deleted...

When typing in the Discord - we can hide our phrase with a use of spoiler tag ||text||

||key_phrase||
||key_phrade option mode||

a_fobot's People

Contributors

afod3v avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.