CommunityBot/Install Discussion View history

Revision as of 01:48, 20 September 2017 by TerryPurdue (talk | contribs)

Operating System Install/Update

  • Ubuntu 16.04
  • sudo apt-get update
  • sudo apt-get -y dist-upgrade
  • sudo reboot

Install .NET Core

Instructions from MSFT


Install mono

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/mono-official.list sudo apt-get update sudo apt-get -y install mono-complete

- Download nuget.exe

cd /usr/bin sudo wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe

- Install Discord.Net.2.0.0-alpha-build-00828

/usr/bin/mono /usr/bin/nuget.exe sources add -Name Discord.Net -Source https://www.myget.org/F/discord-net/api/v3/index.json sudo /usr/bin/mono /usr/bin/nuget.exe install Discord.Net -Prerelease -Version 2.0.0-alpha-build-00828

- Clone DiscordBot code

cd ~ mkdir git cd git git clone https://https://github.com/vaindil/wazebot-discord/

- Run bot

cd wazebot-discord/src/WazeBotDiscord sudo dotnet run