GithubHelp home page GithubHelp logo

sagleft / utopia-zodiac Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 757 KB

An example of WEB 3.0 horoscope bot

License: MIT License

Go 100.00%
bot horoscope utopia web3 web3-app zodiac web3-bot utopia-p2p

utopia-zodiac's Introduction

screenshot

๐ŸŒ’ An example of WEB 3.0 horoscope bot

โšก Configuring the bot

  1. Download a ready-made release or build a bot from source.
  2. Create API key.
  3. Fill in the data in the settings file: config.json

About fields in the config:

  • apikey - API key that you received from rapidapi;
  • channelID - channel ID in Utopia;
  • timeVariant - Horoscope query type by time: today, yesterday, tomorrow, week, month, year;
  • wordReplace - is used to replace the words in the received answer;
  • utopia - Utopia client connection settings.

How to get parameters to connect to the Utopia API can be found in this documentation.

How to run a bot

When you run the bot, the post will be placed in the channel. So you can schedule the bot to run every day, for example, to post daily horoscopes to the channel.

You can use the Cron startup.

You can choose an interval of "a month" and post not only to the channel, but also to the chat room.

โš™๏ธ Build from sources

git clone https://github.com/Sagleft/utopia-zodiac
go build

๐Ÿ‘€ Useful Links

A topic about a bot in the forum.

Looking for examples of projects for Utopia API? Check out this documentation.


udocs

utopia-zodiac's People

Contributors

sagleft 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.