Neki_play

Untitled

Nov 30th, 2020 (edited)
603
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //MCCScript 1.0
  2. //dll QIWIDonation.dll
  3. //using QIWIDonation;
  4.  
  5. MCC.LoadBot(new QIWI_DonationBot());
  6.  
  7. //MCCScript Extensions
  8.  
  9. public class QIWI_DonationBot : ChatBot
  10. {  
  11.     public override void Initialize()
  12.     {
  13.         Donation donation = new Donation("token", OnDonate);
  14.         LogToConsole("Бот запущен");
  15.     }
  16.    
  17.    
  18.     private void OnDonate(string nickname, double ammount, string currency, string message)
  19.     {
  20.  
  21.     }
  22.        
  23.     public override void Update()
  24.     {
  25.        
  26.     }
  27.     public override void AfterGameJoined()
  28.     {
  29.  
  30.     }
  31.     public override void GetText(string text, string json)
  32.     {
  33.         string text1 = GetVerbatim(text);
  34.     }
  35. }
RAW Paste Data