Giter VIP home page Giter VIP logo

discord-twitter-bot's Introduction

Discord-Twitter-Bot

Discord Twitter bot made in C# that can post tweets and get the latest tweets or replies from a given user. (Tokens are not included in this repository for privacy reasons)

Tools Used
  • Discord.NET
  • Twitter API
  • Tweetinvi Library
Core Commands
!newestpost -user
!tweet -message
All Commands
- !commands
- !help
- !newestposts
- !tweet
- !sourcecode

Using The Bot In Your Server

This really isn't intended to be uploaded to top.gg or similar sites since I just wanted to write a small bot (it's also still in development to add more features), but If you want to use this bot and change a few things, create a bot first and invite it to your server, copy this repository and create a Tokens.txt file in the directory path below:

IGBot\bin\Debug\net6.0

Once you create your Twitter developer account, you need to upgrade to elevated status and give your app read and write permissions. Once done, get your tokens and paste it in the following format below.

applicationId,xxx
botToken,xxx
apiKey,xxx
apiKeySecret,xxx
accessToken,xxx
accessTokenSecret,xxx
clientId,xxx
clientSecret,xxx
bearerToken,xxx

Requirments

If you want to work on the bot make sure you install the following packages in your package manager:

  • Visual Studio > Tools > NuGet Package Manager > Package Manager Console

Copy and paste the following to install: Discored.NET

NuGet\Install-Package Discord.Net -Version 3.9.0

Copy and paste the following to install: Tweetinvi Library

NuGet\Install-Package TweetinviAPI -Version 5.0.4

discord-twitter-bot's People

Contributors

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