DANote

From Botdom Wiki
Jump to: navigation, search
The correct title of this article is dANote. The initial letter is capitalized due to technical limitations.

dANote, known as NoodleNOTE on NoodleBot, Tarnote on Futurism and DanteNOTE on Dante, is a script used to send notes using the main dA notes system. With version 1.9 and up it is possible to send notes through alternate accounts, this basically means that the note will be sent on an account specified in the configuration file with the information provided. This does require that you enter a password, and the information is not protected as of yet, so use this feature only at your own risk! Never give out your password to anyone under any circumstances!

The developers of this project can not be held responsible if someone obtains your password as a result of using the alternate login feature!


Downloads

Credits

  • ClanCC - Helped script the send script, fixed some bugs in the script and ported dANote 2.0 to Dante.
  • Djthyrax - Tweaked the script provided by moeffju.
  • groowe - Helped script the send script.
  • Infinity0 - Helped with getting note ID tags.
  • moeffju - Constructed the main script that sent the notes on dA.
  • NoodleMan - Helped figure out how to send notes via sockets and ported dANote 1.2 to NoodleBot 3.0.
  • Photofroggy - Scripted the main code and commands, and integrated the send script. Ported the script to Futurism.

Versions

  • NoodleNOTE 1.2 is dANote 1.2
  • Tarnote 2.0 is dANote 2.0
  • Tarnote 2.1 is dANote 2.1
  • Tarnote 2.2 is dANote 2.1
  • Tarnote 2.3 is dANote 2.2
  • DanteNOTE 0.1 is dANote 2.0
  • DanteNOTE 0.2 is dANote 2.1
  • DanteNOTE 0.3 is dANote 2.1
  • DanteNOTE 0.4 is dANote 2.2
  • DanteNOTE 0.4.1 is dANote 2.2
  • xnote 0.3 is dANote 2.1
  • xnote 0.4 is dANote 2.2

Concerns

  • Extra login information provided can not be protected from malicious modules. This problem has not yet been fully solved, so use at your own risk.

Commands

dANote 2.0 and up

  • !danote write [recipient] [subject] [body] - This creates a new note. Where [subject] is, you can put a one word subject, which can be edited later to have more words in. Where [recipient] is, you can put one deviantART account, this is the account that will receive the note, more recipients can be added later. Where [body] is, you write the actual note, you can use as many words as you want in this part. When you create a new note your note will be given an ID number, usually just a single or double digit number. You need to use this to edit parts of your note and to send it.
  • !danote edit [ID] subject [new subject] - Replace [ID] with the ID of a note, and where [new subject] is, you can write a new subject. This command changes the subject of the specified note, you can use as many words as you like, but remember, the old subject will be deleted and replaced by the new one!
  • !danote edit [ID] sender [new sender] - Only admins can use this command. Replace [ID] with the ID of a note and replace [new sender] with the name of a deviantART account. This will send the note on behalf of the specified user instead of the person who actually wrote it.
  • !danote add [ID] recipients [user1[, user2[, etc.]]] - Replace [ID] with the ID of a note. This commands adds recipients to the note, so that more than one person will receive the note, each username must be separated with a comma and a space, eg. "photofroggy, pfbot".
  • !danote list - Lists all of the notes that are currently stored on the bot. Notes are deleted after they are sent.
  • !danote read [ID] - Replace [ID] with the ID of a note. This commands displays the contents of a specified note.
  • !danote delete all - Only admins can use this command. This command deletes all of the notes that are currently stored on the bot. Data cannot be retrieved once this command has been used.
  • !danote delete [ID] - Replace [ID] with the ID of a note. This command deletes only the specified note.
  • !danote send [ID] - Replace [ID] with the ID of a note. This command sends the specified note. The note will be sent through deviantART's note system and displayed in the chatroom. If the note is sent successfully, the note is deleted, however, if the login fails then the bot will say that there was a problem sending the note, and the note will not be deleted.
  • !danote help - This is now a proper help command.
  • !checknotes - Checks if any notes have been left by anyone other than yourself.

dANote 1.2

  • !danote write [ID] [subject] [recipient] [body] - This creates a new note. Where [subject] is, you can put a one word subject, which can be edited later to have more words in. Where [recipient] is, you can put one deviantART account, this is the account that will receive the note, more recipients can be added later. Where [body] is, you write the actual note, you can use as many words as you want in this part. When you create a new note you have to give your note an ID in earlier versions, so replace [ID] with an ID of your choice. You need to use this to edit parts of your note and to send it.
  • !danote edit [ID] subject [new subject] - Replace [ID] with the ID of a note, and where [new subject] is, you can write a new subject. This command changes the subject of the specified note, you can use as many words as you like, but remember, the old subject will be deleted and replaced by the new one!
  • !danote add [ID] recipients [user1[, user2[, etc.]]] - Replace [ID] with the ID of a note. This commands adds recipients to the note, so that more than one person will receive the note, each username must be separated with a comma and a space, eg. "photofroggy, pfbot".
  • !danote list - Lists all of the notes that are currently stored on the bot. Notes are deleted after they are sent.
  • !danote read [ID] - Replace [ID] with the ID of a note. This commands displays the contents of a specified note.
  • !danote delete all - Only admins can use this command. This command deletes all of the notes that are currently stored on the bot. Data cannot be retrieved once this command has been used.
  • !danote delete [ID] - Replace [ID] with the ID of a note. This command deletes only the specified note.
  • !danote send [ID] - Replace [ID] with the ID of a note. This command sends the specified note. The note will be sent through deviantART's note system and displayed in the chatroom. If the note is sent successfully, the note is deleted, however, if the login fails then the bot will say that there was a problem sending the note, and the note will not be deleted.

History

Basic core code was made by groowe, NoodleMan and djthyrax with some help from moeffju.

The core script was further developed into NoodleNOTE v1.2 for NoodleBot v2.6 by photofroggy and has been ported to NoodleBot v3.0 by NoodleMan. Error handling didn't get implemented into the core as developers will be more specific in this matter.

NoodleNOTE got ported to Futurism v0.2e as Tarnote 1.2. This version of dANote allows the admin to check if anyone has left any notes to be sent via bot, and tells you if the note has not been successfully sent. Also, the bot owner can change who the sender is specified as for each note.

Tarnote 2.0 got ported to Dante v0.4b as DanteNOTE 0.1 by ClanCC.
Tarnote 2.1 was eventually ported to xbot RC1 as xnote 0.3 by photofroggy after quite a few edits and difficulties.

Changelog

dANote 2.2

(25 February 2007)
  • Minor security fix made to protect passwords temporarily. Passwords are still not fully protected.
  • Help command now made.
  • Scripts brushed up a bit

dANote 2.1

(28 November 2006)
  • Fixed up arguments variables.
  • Ported to Futurism 0.3.

dANote 2

(19 November 2006)
  • A few bug fixes and ported to Futurism 0.3.

dANote 1.9

(15 November 2006)
  • It is now possible to make Futurism automatically check if another user has left new notes to be sent via your bot. A message is displayed in a chat room defined in the config file. It is possible to turn this feature off, and can be done manually anyway.
  • ID's are now automatically set by the bot, as numbers, and start on 0. This makes things a little easier to maintain.
  • It is now also possible to have the bot send notes via an alternative account, defined in the config. A username and password has to be provided in the config, but this may cause security problems, so Tarnote, or any other versions of dANote using this feature will not be publicly released until this has been sorted out.

dANote 1.2

(Date unknown)
  • First stable public release on NoodleBot 2.6 and 3.0.
ClanCCv3.png
Projects by ClanCC
CBDM · dANote · Lucifer


Photofroggy helps with
Abugida · Amphino · Calf · Contra · dANote · Frogmod · KickWars · KickWars Classic · Maltriv


Projects by NoodleMan
NoodleBot · dANote · Gyn